Commit 3c0ed564 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

effects/windowview: do close animation after gesture ended

parent fd18401d
Pipeline #190832 passed with stage
in 12 minutes and 39 seconds
......@@ -45,7 +45,7 @@ WindowViewEffect::WindowViewEffect()
if (isRunning() && m_partialActivationFactor > 0.5) {
activate();
} else {
deactivate(0);
deactivate(animationDuration());
}
m_partialActivationFactor = 0;
Q_EMIT gestureInProgressChanged();
......
Supports Markdown
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