Skip to content

Add Alt+Right-click / Alt+Ctrl+Left-click drag to change brush size - #86

Draft
Nidrax wants to merge 1 commit into
trunkfrom
claude/issue-7-20260720-0955
Draft

Add Alt+Right-click / Alt+Ctrl+Left-click drag to change brush size#86
Nidrax wants to merge 1 commit into
trunkfrom
claude/issue-7-20260720-0955

Conversation

@Nidrax

@Nidrax Nidrax commented Jul 23, 2026

Copy link
Copy Markdown
Member

Photoshop-style drag gesture to quickly change the active tool's brush size (and, where applicable, opacity/alpha):

  • Alt + Right-click drag
  • Alt+Ctrl (Cmd on macOS) + Left-click drag (alternative)

Dragging horizontally changes brush size (min 1); dragging vertically changes opacity/alpha (0-255) when the tool's ink is Alpha Compositing/Lock Alpha, or for effect tools like the Eraser. Both shortcuts are implemented as customizable Action Modifiers, editable from Edit > Keyboard Shortcuts.

Fixes #7

Dragging horizontally now changes the active tool's brush size (min 1),
and dragging vertically changes the opacity/alpha when the tool's ink
supports it (e.g. Alpha Compositing) or for effect tools like the
Eraser. Both shortcuts are implemented as customizable Action Modifiers
so they can be rebound from Edit > Keyboard Shortcuts.

Fixes #7

Co-authored-by: Daniel Praźmo <4753308+Nidrax@users.noreply.github.com>
@Nidrax

Nidrax commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

Test plan

  • Build the project
  • Verify Alt+Right-click drag changes brush size for pencil, spray, eraser, line, shapes, polygon
  • Verify Alt+Ctrl+Left-click drag works as an alternative
  • Verify brush size never goes below 1
  • Verify vertical drag changes opacity when Ink = Alpha Compositing, and for the Eraser's opacity
  • Verify vertical drag does nothing for inks without opacity (e.g. Simple ink)
  • Verify shortcuts are listed and rebindable in Edit > Keyboard Shortcuts > Action Modifiers

Generated with Claude Code

@Nidrax
Nidrax marked this pull request as draft July 23, 2026 10:21
@Nidrax

Nidrax commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

Still very clunky. Alt+Right click interferes with eyedropper (Alt enters eyedropper mode, so the size change is applied to... God knows what tool then)

@Nidrax
Nidrax force-pushed the trunk branch 2 times, most recently from 464d137 to 1904c2b Compare August 13, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick change tool size

1 participant