Add lasso selection to node graph
Closes #2532.
I should say while this is on my mind right now, performance should probably be looked at for this PR. We convert the entire vec of polygon points from one unit to another once every frame.
Made some initial tweaks, discussion above. Feel free to mark whatever resolved if you agree with changes.
I suppose the last holdup is the "point in polygon" note that I'd be stuck on.
Oh, hm. Looks like the hints only show esc/rmb to cancel, but not the extend/subtract hints that show up when using the artboard drag select tool. As you are indeed able to extend/subtract, should I add them through a commit here or leave it for a later mini PR?
Searched is:issue state:open node drag hint on the tracker but didn't find any matches.
Yes, feel free to include them in the PR here.
Included :+1:
!build
| 📦 Build Complete for 213fe29ee818d011afed80f7f39b34550cf215ba |
|---|
| https://16f20691.graphite.pages.dev |
On Mac, there's a discrepancy between the canvas which uses Ctrl and the node graph which uses Cmd (Accel). You should probably make both use both Ctrl and Accel. Since we'd like the node graph and the canvas to work with both Cmd and Ctrl on Mac, and Ctrl on Windows/Linux.