Skip to content

Commit 200fbb7

Browse files
committed
feat: add default keybindings for changing the mask brush size
Make it easier to change the mask brush size. These keybindings are familiar to users of other image editors.
1 parent 1d06b4d commit 200fbb7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/constants/coreKeybindings.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@ export const CORE_KEYBINDINGS: Keybinding[] = [
8282
},
8383
commandId: 'Comfy.ShowSettingsDialog'
8484
},
85+
{
86+
combo: {
87+
key: '['
88+
},
89+
commandId: 'Comfy.MaskEditor.BrushSize.Decrease'
90+
},
91+
{
92+
combo: {
93+
key: ']'
94+
},
95+
commandId: 'Comfy.MaskEditor.BrushSize.Increase'
96+
},
8597
// For '=' both holding shift and not holding shift
8698
{
8799
combo: {

0 commit comments

Comments
 (0)