-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Changed StampBrush to do rectangle-erase on right-click #3821
base: master
Are you sure you want to change the base?
Conversation
I'm curious why this behaviour couldn't be added as e.g. Alt + right click, without a need for additional user configuration? When using right click, none of the modifier keys seem to do anything except break drag behaviour, so they seem free to use. (I find the right-click sampling behaviour very useful, so of course I hope to see it stay xP) |
Hmm, you're right, Alt+Right-click is still free for all the relevant tools. It's worth considering. |
Because my tilemapping muscle-memory instinct is to just right-click, I'd never be able to convert to having to remember to press alt as well (and if it were a configurable option, I'd also never choose alt+) |
I'm certainly not against more options xP And if there's an option, maybe the other behaviour can be available with alt. That way, those of us with right-click sample muscle memory from using Tiled can also be happy, and access the new feature easily. |
@elvisish I've fixed the clearing of the stamp on right-click erase. New builds will soon be available at https://github.com/mapeditor/tiled/actions/runs/6309399827?pr=3821. |
Thankyou! |
Feature requested by elvisish, but can't be merged like this. Instead, the mouse interaction in general would need to be made more configurable. This change currently leaves no way to capture a stamp from the map.
18a0a4e
to
287798f
Compare
@elvisish I've updated this PR with all the changes that happened since October last year, just in case you wanted the benefit of any new features / fixes in addition to this change. The change has also gotten a lot smaller, thanks to a small refactoring as part of the addition of "Cut Stamp" on Shift+Right-Click in #3963. If you would be able to get used to it, this new "Cut Stamp" action on Shift+Right-Click might be an alternative for you, though on the other hand, it does also change the stamp to the area that was cut, which might not be desired. New builds should soon be available at https://github.com/mapeditor/tiled/actions/runs/9548746873?pr=3821 (though I see the macOS builds were cancelled due to the macOS-11 environment being deprecated). |
Thanks, I'll give that a try, I'm not sure if it's possible to rebind the keys yet so right-click can be redefined for any purpose? |
Unfortunately not. If you need pure erasing on right-click, you'd need to use a build from this pull request. |
Feature requested by elvisish, but can't be merged like this. Instead, the mouse interaction in general would need to be made more configurable.
This change currently leaves no way to capture a stamp from the map when the Stamp Brush is selected.