#3469672: Scale the not-to-be-scaled XB annotations by the inverse of current scale
Merged
requested to merge issue/experience_builder-3469672:3469672-inverse-scale-annotations into 0.x
The XB annotations and labels should not change size when zooming. We've tried different approaches before — this MR implements @effulgentsia's idea of scaling the not-to-be-scaled components by the inverse amount, so that when the ancestor <div>
is scaled, it cancels out.
Besides doing that, we also need to factor in the current zoom level when calculating the dimensions of the outline.
Merge request reports
Activity
Filter activity
added 1 commit
- 52a2fb4c - Revreted the changes to fix the Add section/component button
added 2 commits
- Resolved by Bálint Kléri
- Resolved by utkarsh_33
- Resolved by utkarsh_33
- Resolved by utkarsh_33
added 1 commit
- 2c4e4d0c - Exclude the add section/component button form transform
- Resolved by Bálint Kléri
- Resolved by Bálint Kléri
- Resolved by utkarsh_33
added 1 commit
- 134915a1 - Moved the tests to different file and also added tests for zoom out
- Resolved by Bálint Kléri
Please register or sign in to reply