Skip to content

Conversation

@MrStevns
Copy link
Member

@MrStevns MrStevns commented Jun 14, 2025

This is part of a bigger tool logic separation i'm working on...

As my changes were growing, at a similar rate of #1906, I decided to create a separate PR instead, to avoid PR's with lots of changes.

As such this PR focuses on the quick sizing part, separating it into its own tool and let StrokeTool deal with how the canvas cursor should be updated.

Some of the quick sizing logic had also leaked into CanvasCursorPainter, which shouldn't be necessary anymore. I've simplified CanvasCursor to the point where it just focuses on drawing a radial cursor.

In addition I've also updated the quick sizing logic so that it updates the offset based on the current position, rather than a fixed 45 deg angle.

cursor-offset

closes #1871 As it doesn't depend on a fixed angle anymore.

MrStevns added 4 commits June 14, 2025 18:07
This basically takes the Quick sizing logic from StrokeTool and creates a simplified Tool from that logic.
Rather than a fixed 45 deg it will now offset in the opposite direction of the cursor, which should make adjustments feel more natural.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Quick Sizing cursor offset changes direction when view is flipped or rotated

1 participant