-
Notifications
You must be signed in to change notification settings - Fork 378
feat: add default keybindings for changing the mask brush size #6003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add default keybindings for changing the mask brush size #6003
Conversation
🎭 Playwright Test Results⏰ Completed at: 10/10/2025, 06:17:50 AM UTC 📈 Summary
📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on my local, worked as expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mask editor has an internal Keybinding manager because we don't have a keybinding context system yet and adding a keybinding globally will trigger whether or not the mask editor is initialized or opened.
Make it easier to change the mask brush size. These keybindings are familiar to users of other image editors.
Handle the brush size hotkeys in the MaskEditor's KeyboardManager instead of using global keybindings. This keeps these hotkeys scoped to the editor instead of firing globally.
bea4591
to
56d2f0f
Compare
I see what you mean about the local keybinding manager. I added a 2nd commit that handles this behavior using the scoped keyDown callback instead of with a global keybinding. If you think the end result looks better I'll squash the two commits together. |
Summary
Make it easier to change the mask brush size. These keybindings are familiar to users of other image editors.
Changes
[
to decrease and]
to increase the brush size.Review Focus
Is this generically useful enough to include the default keybindings?
┆Issue is synchronized with this Notion page by Unito
References