mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
Fixes #5981. The winit patch rev moves from a517b384 to 0dfcec0e (storytold/winit craft/0.30.13, with storytold/winit#20), whose Wayland backend binds zwp_pointer_gestures_v1 and reports a touchpad pinch and rotation as PinchGesture and RotationGesture. egui-winit turns them into Event::Zoom and Event::Rotate, which the canvas already reads, so a pinch zooms about the pointer and a two-finger turn rotates the view. Before, winit's Wayland backend never bound the protocol, so the gesture never reached the app. X11 and XWayland still report no pinch. The same winit range types an Alt + keypad code's character itself on Windows (W36: the WM_CHAR after Alt's release becomes a key press with that text). windows_alt_codes typed it too, which would type it twice, so it now only takes the keypad digits typed with Alt out of the frame. Docs: docs/hardware-parity.md (Trackpad row, Linux), docs/type-parity.md (Alt + numeric-keypad codes row).