Forum

    • Register
    • Login
    • Search
    • Categories

    event.drag = true when just clicked?

    General Questions
    2
    4
    33
    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.
    • ustk
      ustk last edited by

      Since when a simple click in a panel sets the event.drag to true?

      I can't help pressing F5 in the forum...

      ulrik 1 Reply Last reply Reply Quote 0
      • ulrik
        ulrik @ustk last edited by ulrik

        @ustk since a long time ago
        https://forum.hise.audio/topic/6821/several-mouse-event-functions-broken/4

        Now I'm getting used to use

        if (event.dragX || event.dragY)
        

        Hise Develop branch
        MacOs 13, Xcode 14.0.1
        http://musikboden.se

        ustk 1 Reply Last reply Reply Quote 2
        • ustk
          ustk @ulrik last edited by ustk

          @ulrik oh I see, I didn't remember that one...
          I do the same as you do, but maybe it can just be implemented in the backend as event.isDragOnly
          I'll have a look to it

          I can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • ustk
            ustk last edited by

            So I added isDragOnly -> https://github.com/christophhart/HISE/pull/390

            I can't help pressing F5 in the forum...

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            8
            Online

            1.1k
            Users

            6.8k
            Topics

            62.1k
            Posts