mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 10:47:11 -06:00
Pointer Events report a press of a pen's eraser end as the eraser button (button 5). The browser build ignored that press. It now presses like the tip, and the web runner writes the pen's samples into a stylus feed with the end they came from, so the canvas selects the Eraser tool before the press and the press erases. The next press of the tip selects the tool used before, as on Linux and macOS. A hovering pen keeps the end it last pressed with, since Pointer Events report no end while a pen hovers. A mouse or finger takes the pen out of the feed; a palm rejected while the pen presses does not. Docs: docs/hardware-parity.md, docs/gaps.md (G14), docs/target-app-parity.md.