-
Notifications
You must be signed in to change notification settings - Fork 418
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
Add to Selection When Using Lasso Tool with Shift Key #851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix what @nikku pointed out above.
I've noticed that and checked how Miro does it. Works the same there. |
I'm not sure what you mean. What isn't working as expected? |
The moment I start the lasso tool without |
So you mean you press L and expect the existing selection to go away? |
Yes. Sorry if my explanation was misleading. |
But that's the same as clicking the palette icon. I wouldn't expect the selection to go away immediately after just activating the tool. I would expect the selection to go away after selecting the recangular area without pressing SHIFT. |
I'd expect the opposite 🙃. Let's do a quick poll to resolve this, and proceed afterwards. |
But that would mean you must press SHIFT while activating the lasso through click or L before even selecting anything. |
a0f8818
to
571551f
Compare
I had to keep |
Why is it lost? |
I've checked again and it's actually restored so there's a different issue. I'll fix that. 😓 |
571551f
to
f6e83e6
Compare
@nikku I found a different solution. Unfortunately, calling |
6ae1e41
to
67815af
Compare
Perhaps https://github.com/bpmn-io/diagram-js/blob/develop/lib/features/dragging/Dragging.js#L235 |
f6e83e6
to
b6a1912
Compare
b6a1912
to
c407b8e
Compare
After rebase, I cannot run this with |
We'd want to wrap up the touch removal to unblock @philippfromme. I can take that over, or you do it. |
I can look into this on Monday, otherwise feel free to wrap it up. |
@barmac Happy if you take this over 🤞 |
Let's ship it, and we can improve on the visuals in the future. Better provide value early and we can also collect feedback on the next steps if necessary. |
Related to bpmn-io/bpmn-js#2053