Skip to content
Snippets Groups Projects
  • Ray Schamp's avatar
    6385cb06
    Cache stage bounding box · 6385cb06
    Ray Schamp authored
    `getBoundingClientRect` forces WebKit to recalculate the layout ("force reflow"), so cache the canvas bounding box rather than getting it on every mouse event.
    6385cb06
    History
    Cache stage bounding box
    Ray Schamp authored
    `getBoundingClientRect` forces WebKit to recalculate the layout ("force reflow"), so cache the canvas bounding box rather than getting it on every mouse event.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.