mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Most tool cursors are drawn by the app at its own cursor size, but Cursor::Move, the four resize cursors, HandGrab, NotAllowed, Text and the vertical type cursors were handed to the system. On Wayland the compositor draws those from the desktop's cursor theme at the theme's size, so one tool switched between a small drawn cursor and a large themed one, for example the Curvature tool over an anchor, the bounding box handles, or the Hand while panning. These cursors are now drawn too: new move, resize, not-allowed and vertical I-beam glyphs in assets/cursors, the framework's I-beam for Text, and the framework's hand, which closes while the primary button is down, for HandGrab. The busy pointer of a long operation stays the system's.