1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00

reenable show window added animation

This commit is contained in:
Michail Vourlakos 2017-10-21 23:51:07 +03:00
parent 507e42ee08
commit e68b3aed48

View File

@ -118,7 +118,7 @@ SequentialAnimation{
wrapper.tempScaleHeight = wrapper.mScale;
if(!isDemandingAttention)
loops = 2;
loops = 1;
else {
loops = 20;
mainItemContainer.inAttentionAnimation = true;
@ -133,7 +133,8 @@ SequentialAnimation{
}
function bounceNewWindow(){
if (isDemandingAttention && !root.dockIsHidden && (root.zoomFactor > 1)){
//if (isDemandingAttention && !root.dockIsHidden && (root.zoomFactor > 1)){
if (!root.dockIsHidden && (root.zoomFactor > 1) && (root.durationTime>0)){
newWindowAnimation.init();
start();
}