Skip to content
  • ivan tkachenko's avatar
    effects/overview: Fix animation of windows scaling back from a desktop bar · 2bca18bc
    ivan tkachenko authored
    Due to nondeterministic nature of signal propagation in QML, changing
    both targetScale and state depending on dragHandler's activity could
    result in targetScale wrongly updating before the state change(and thus
    applied property changes and subsequent animated transition).
    
    This fixes a bug when a window dragged to the top (but not onto another
    desktop) would animate its position back to its original position on a
    heap, but the scale would remain constant until the end of animation
    and only then rapidly jump back to a normally scaled state.
    2bca18bc