Skip to content
Commit 2091cb06 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/highlightwindow: Fix crash

If a window appears on the screen, the highlight window effect will try
to fast-forward animation to the target state by setting the animation
duration to 0. However, TimeLine doesn't like that because it will
eventually lead to division by zero.

This change makes the highlight window effect fast-forward the
transition to highlight or ghost state by using the complete() function.

BUG: 450323
parent f59a4d60
Pipeline #138395 passed with stage
in 22 minutes and 9 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment