mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-10 12:22:22 +00:00
WM_POINTERENTER is sent, not posted, so only WH_CALLWNDPROC sees it; it now reads the pen end like an update, so a pen held still after entering range on its eraser end selects the Eraser. A contact's end is kept past WM_POINTERLEAVE until the UI reads it once (take_pen_end): an eraser-end tap and the pen leaving range, all handled before the next frame, now erase instead of using the previous tool.