-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Replace all flags with one value when holding Ctrl/Cmd in the layers editor #39364
Conversation
Wouldn't that be confusing? The "Hold Shift to select multiple items" behavior is quite common on most OSes, and also used in Godot. Maybe using a different hotkey would reduce confusion, e.g. Ctrl+Click? |
e95b456
to
271f2bd
Compare
I changed the hotkey to from Shift to Ctrl (Cmd on macOS). |
I think it might be the same issue with Cmd/Ctrl though, as Ctrl+Click is typically used to add new items to an existing selection (so the opposite to what this feature does). Eventually it probably doesn't matter so much either way (Shift, Ctrl or another key) as long as we can make this discoverable, which isn't really the case as is. Can we add a tooltip? |
271f2bd
to
17b11e5
Compare
Rebased and tested again, it works successfully. I added a new behavior for added convenience:
simplescreenrecorder-2021-06-21_18.29.28.mp4 |
It fails building:
|
17b11e5
to
5155ff0
Compare
2c6c3c9
to
e9311b9
Compare
Reviewed in PR review, looks good, just needs to be updated to fix CI errors |
e9311b9
to
15b514e
Compare
Rebased and tested again (with CI fixed), it works as expected. |
This behavior is inspired by Blender (except it's the other way around to preserve the current default behavior). Trying to enable a single enabled value with Cmd held will invert the current flags, which makes enabling all flags but one faster.
15b514e
to
81d603a
Compare
Thanks! |
This behavior is inspired by Blender (except it's the other way around to preserve the current default behavior).
Trying to enable a single enabled value with Cmd held will invert the current flags, which makes enabling all flags but one faster.
Preview
On the GIF below, at first, I'm checking boxes as usual, then I hold down Ctrl (Cmd on macOS) to replace existing values.
June 2021 patch