reenable show window added animation

v0.7
Michail Vourlakos 7 years ago
parent 507e42ee08
commit e68b3aed48

@ -118,7 +118,7 @@ SequentialAnimation{
wrapper.tempScaleHeight = wrapper.mScale; wrapper.tempScaleHeight = wrapper.mScale;
if(!isDemandingAttention) if(!isDemandingAttention)
loops = 2; loops = 1;
else { else {
loops = 20; loops = 20;
mainItemContainer.inAttentionAnimation = true; mainItemContainer.inAttentionAnimation = true;
@ -133,7 +133,8 @@ SequentialAnimation{
} }
function bounceNewWindow(){ 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(); newWindowAnimation.init();
start(); start();
} }

Loading…
Cancel
Save