Skip to content
  • Jonas Dreßler's avatar
    overviewControls: Make the swipe up gesture workspace move with finger · 7d285bd5
    Jonas Dreßler authored
    Since we now have a gesture where workspaces can be "pushed up" from the
    bottom screen edge, it makes sense to move the workspaces in sync with
    the finger movement. To achieve this, we change the swipeTracker
    distance as soon as the threshold of the state WINDOW_PICKER is reached.
    
    This isn't perfect though: The one progress change that crossed the
    threshold will still use the old distance, even though a part of that
    progress changed should have used the new distance. This can lead to the
    workspace getting out of sync with the finger movement when moving the
    finger quickly.
    7d285bd5