Comfy-Org / Comfy-Org/ComfyUI_frontend

Mask Editor brush size keyboard shortcuts. Also crop tool.

Open
#11,117 0 comments 0 reactions 0 assignees View on GitHub
area:hotkeys area:mask-editor enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### What problem are you experiencing?

### Feature Request: Mask Editor brush size keyboard shortcuts / exposed API

Imagine this will be lost in the current issue flurry, but stil...

Please can you add keyboard shortcuts for Mask Editor UI slider 'Thickness' (brush size), using keys such as square brackets [ ], as used in Photoshop and similar tools.
This would allows modification of Mask Editor parameters such as brush thickness with keys.

This would significantly improve usability for masking workflows.
I thought I'd try and use js / monkey‑patching but that failed, so gave up!

Also, a good image crop tool (draw a box, not use co-ordinates) is sorely missing ComfyUI. Workaround such as drawing crude Mask in Mask Editor then using a 'imagecrop by mask' seem clunky.

Thanks.

### When does this problem occur?

When using mask editor

### How often do you encounter this problem?

Weekly

### How much does this problem affect your workflow?

Significantly slows down my work

### Current workarounds

Workaround such as drawing crude Mask in Mask Editor then using a 'imagecrop by mask'

### Ideas for solutions (Optional)

_No response_

### Additional context

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-11117-Mask-Editor-brush-size-keyboard-shortcuts-Also-crop-tool-33e6d73d36508194a053e93f13fc4eca) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Research direction

Start by locating the Mask Editor UI Thickness slider and its existing keyboard-input handling. Clarify whether the crop tool is part of this issue or should be split out; done should mean bracket-key brush-size changes work reliably, with the requested image crop workflow separately defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.