Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39203

Behavior on x/y enabled Binding Not Fails

XMLWordPrintable

      I want a Behavior to only apply an animation when the user releases the mouse. I enable the behaviors via

      enabled: (mouseArea.pressed === false)

      But this does not work unless I have some other item evaluate the enabled property of the behavior.

      The attached example is a joystick that should animate back to the start point after releasing the mouse. I cannot make this work without the item with id "wtf".

      This works as expected without the bogus item on iOS.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            shausman Simon Hausmann
            aaronjaques Aaron Jaques
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes