fix: Paths edited by Path Cursor can sometimes retain detailed handles - #200
fix: Paths edited by Path Cursor can sometimes retain detailed handles#200StickmanRed wants to merge 2 commits into
Conversation
|
Looks good— only came by one issue while testing— Tested this on the older editor version and can confirm the same bug is there as well. And one more quick thing that might be worth adding— when using the ctrl + a shortcut to select all objects in the frame (while using the path cursor, text tool, or any other tool asides the cursor tool) we should allow it to automatically switch to the cursor tool, otherwise everything gets selected and you can't move it around because you're still on the current tool. |
|
This is because the detailed path editing mode is ported from Legacy Wick. I believe that we should re-do the Path Cursor. |
|
I got confused finding a fix for the first problem, because Wick creates new path objects every render... kinda wish we had more control over the |
That's the problem with extremely abstract libraries. You can't control everything. |
Description
If you use the Path Cursor's detailed editing on a path, on occasion, the path handles can somehow get stuck to the path. In this PR, each path checks if the project (if it exists) is using the Path Cursor tool, and if it ain't, the path quietly discards the selection handles and moves on.
Testing