zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
500 stars 43 forks source link

[Feature Request]: Erase mask with Ctrl+left click instead of right click #254

Closed rollzwiththepollz closed 11 months ago

rollzwiththepollz commented 11 months ago

Is your feature request related to a problem? Please describe.

Is there a way you can implement Ctrl+left click to erase mask instead of right click? I need my right click for something else

Describe the solution you'd like

See above

Proposed workflow

See above

Describe alternatives you've considered

See above

Additional context

No response

Kadah commented 11 months ago

What is the something else?

rollzwiththepollz commented 11 months ago

I use a program called xGestures to do different things like alt-tab, ctrl-tab, etc. And that's bound to my right click

rollzwiththepollz commented 11 months ago

nvm i coded it myself, thanks

zero01101 commented 11 months ago

hey, sorry for the delay; yeah, ctrl+click is already mapped to canvas panning because laptops don't have a clickable scrollwheel... beyond that, alt-clicking often has browser/OS shortcuts already defined, so it's kind of a minefield of "what CAN we use that'll work most of the time" :/