effects/windowview: do close animation after gesture ended
This commit is contained in:
parent
fd18401dbf
commit
3c0ed5643b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ WindowViewEffect::WindowViewEffect()
|
|||
if (isRunning() && m_partialActivationFactor > 0.5) {
|
||||
activate();
|
||||
} else {
|
||||
deactivate(0);
|
||||
deactivate(animationDuration());
|
||||
}
|
||||
m_partialActivationFactor = 0;
|
||||
Q_EMIT gestureInProgressChanged();
|
||||
|
|
Loading…
Reference in a new issue