-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix click and drag functionality overlap in path tool in extended select #2395
base: master
Are you sure you want to change the base?
Fix click and drag functionality overlap in path tool in extended select #2395
Conversation
!build |
|
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.
This removes the functionality of removing a point from the selection by shift clicking on it.
Thanks for the fix @singhutsav5502. However now you can't shift select points in the first place (they are selected on mouse down and deselected on mouse up). shift_select_issue.mp4 |
Hi, it seemed to be working on my local build at first but broke when i tried it on a new document. I have pushed some changes and tried running it on a new document, seems to be working fine now. @0HyperCube |
My intuition is that this issue doesn't need to involve storing any new state such as the list of originally selected points just to filter out a Shift-click-and-drag, but do you agree @0HyperCube? |
Honestly i feel the same, will give it a try. This can be treated as a temporary solution at best. |
…lready selected, when DragStop state is reached instead of inside the mouse_down function.
Hi, @Keavon @0HyperCube latest code push uses a |
In the current main branch, the shift click to deselect happens on pointer down. At this point we obviously don't know if the user is going to drag or not. I would probably just move the deselect behaviour to the mouse up and only run it if there was no dragging. However there are many possible ways to solve the problem. |
That's similar to what i have done in the last code push, while there doesn't seem to be a |
I suggest going with this. Thanks both of you! |
Checking in on the status. |
Also, regarding this @Keavon @0HyperCube , |
Resolves https://discord.com/channels/731730685944922173/881073965047636018/1347408498211815434
Send Path_tool FSM to
Dragging
state onMouseDown
if clicking an already selected point.