mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
The Properties panel measured all of its sections before showing them whenever the document's revision changed. A Selection tool drag changes the revision on every pointer move, so each frame of the drag ran the whole panel twice. On a blank document with one rectangle, a drag frame ran 396 components where a hover frame ran 170. The revision is now kept apart from the selection, tool and isolation key. While a canvas drag or a scrubbed field is in progress, a new revision alone does not measure the sections; the edit is measured once when the drag ends. A drag frame now runs 168 components and each frame still takes one pass.