#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
Please register or sign in to reply