Skip to content
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

e must be pressed before Shift to combine erase and multi brush modes #77

Open
ssokolow opened this issue May 8, 2020 · 2 comments
Open
Labels
type:enhancement New feature or request

Comments

@ssokolow
Copy link

ssokolow commented May 8, 2020

In rx 0.4.0, if I press e and then Shift, I get a brush that will erase on multiple frames, as expected.

However, if I press Shift and then e, the e gets ignored and I still have a brush which will draw on multiple frames.

@cloudhead
Copy link
Owner

The reason for this is that the erase mode is mapped as follows:

map/normal  e :brush/set erase

And if <shift> is held, this mapping will be skipped, since it expects no modifiers. I'm not sure yet what's the best fix for this, but when modifiers are supported in key-mappings, we could have another mapping like this:

map/normal <shift>e :brush/set erase multi

@cloudhead cloudhead added the type:enhancement New feature or request label May 10, 2020
@ssokolow
Copy link
Author

What confuses me is why the current asymmetric state of things exists in the first place.

When I conceptualize a design for a system like this, it seems like the most obvious approach would be to allow modifiers the same as any other key and having a binding like this Just Work™ for either button-pressing order:

map/normal  e :brush/set erase
map/normal <shift> :brush/set multi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants