mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 05:52:09 +00:00
Review follow-up for #8551: - Edge scrolling starts once the pointer has moved 3 points from the press on screen. A wheel scroll under a still press near the edge changed the pointer's document position, which counted as a drag and started it. - The scroll keeps its own drag-scoped sub-pixel remainder instead of the wheel's, and an axis that does not scroll keeps its remainder as is: rounding a half pixel there each frame moved the view back and forth. - In a corner the scroll is no faster than along one edge. - The rectangle test checks the preview against the pointer on every held frame, not only the committed shape.