Solved ScriptNode - Middle Click drag should always pan {CLOSED}
-
Right now, whether you left, right or middle click a container space, the insert menu will pop up.
I think Middle Click can be safely relegated to always pan around the blueprint. It already pans when clicking on the empty canvas area (as do all other mouse buttons), but I think it would be a nice QoL feature for the Middle Click to always pan (coming here from Unreal's Blueprint editor). Predictive/expected behavior and all that.
-
Yes this would be nice, I keep having to use the mousewheel to move around once I'm zoomed in.
-
I remember trying to do this once but this is surprisingly annoying to implement because the JUCE mouse event handling system can't consume a mouse event of a child component, so I would have to add that logic to every single UI element that might end up in a zoomable viewport.
Also on macOS dragging the mouse does something weird (at least here it opens some kind of desktop overview mode).
-
Came back to this on a fresh morning and thought "whatever, let's do it" :)
https://github.com/christophhart/HISE/commit/ec196473599b47f6b7bc120a45f33de78ef68216
-
@Christoph-Hart I like that attitude!
-
Hey, it's not a shiny new feature but this significantly improves the experience in ScriptNode. Thanks!
-
-