mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
The bounding box, the Live Corners widgets and the shape widgets were drawn before the tool host took the frame's pointer event, so during a Selection tool drag they showed where the art was one frame earlier. With Show Bounding Box While Moving and Drawing on, the box trailed the art on every frame of a move. They are display only, so they are now drawn after the tool host, like the selection's marks, and put back at their old place in the paint order through a PaintSlot. The tool overlays that are not framework controls (path marks, anchors, handles, labels and the rest) no longer get a child Ui each, so a list of 10,000 path marks makes none. Tests: with the box shown while moving, a Selection tool drag draws it at the object's new corner and none at the old one in each frame.