HISE Logo Forum
    • Categories
    • Register
    • Login

    ScriptNode - Middle Click drag should always pan {CLOSED}

    Scheduled Pinned Locked Moved Solved Feature Requests
    6 Posts 3 Posters 358 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aaronventure
      last edited by aaronventure

      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.

      1 Reply Last reply Reply Quote 3
      • d.healeyD
        d.healey
        last edited by

        Yes this would be nice, I keep having to use the mousewheel to move around once I'm zoomed in.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          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).

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @Christoph Hart
            last edited by

            Came back to this on a fresh morning and thought "whatever, let's do it" :)

            https://github.com/christophhart/HISE/commit/ec196473599b47f6b7bc120a45f33de78ef68216

            d.healeyD 1 Reply Last reply Reply Quote 4
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart I like that attitude!

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • A
                aaronventure
                last edited by

                Hey, it's not a shiny new feature but this significantly improves the experience in ScriptNode. Thanks!

                1 Reply Last reply Reply Quote 0
                • A aaronventure marked this topic as a question on
                • A aaronventure has marked this topic as solved on
                • First post
                  Last post

                22

                Online

                1.8k

                Users

                12.0k

                Topics

                104.8k

                Posts