Skip to content
Snippets Groups Projects

#3469672: Scale the not-to-be-scaled XB annotations by the inverse of current scale

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading