mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
A two-finger rotation on a Mac trackpad did not turn the view. With the new General preference Trackpad Gesture to Rotate View (`trackpadRotateView`, on by default) and the pointer over the canvas, the rotation turns the view about the pointer, keeping the document point under it in place. The view does not turn until the rotation reaches 5°; it then turns by the whole rotation and follows each later rotation event. A rotation ends 0.25 s after its last event. A rotation in the same frame as a pinch zooms and turns about the same point. egui reports the gesture as `Event::Rotate`: egui-winit makes it from winit's macOS rotation gesture, and eframe makes it from Safari's gesture events in the web build. Rotation events that arrive while fingers are on a touch screen do not turn the view. With the preference off, the gesture does not turn the view. Docs: docs/mcp.md, docs/target-app-parity.md, docs/hardware-parity.md.