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

PinchHandler should have a way to reset

XMLWordPrintable

    • All
    • 7867a683f (dev)

      Consider the following scenario: we have an object that needs to scale, and we're using a PinchHandler for that. There is also another way for the object view to set the zoom, perhaps because of a reset button or the user selecting an object from a list to focus on. So now, the PinchHandler's scale property is no longer in sync with that of the view. We could use activeScale instead, but that value resets with each time we pinch, and so either requires manually storing the old value somewhere when the gesture ends. 

      It would be great PinchHandler would gain a way to reset the current state to neutral.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            andre André Somers
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change