fix #833,block attention bouncing inAttention

--fixed a typo to check the above case and at more
checks also to be sure
pull/2/head
Michail Vourlakos 7 years ago
parent 8202d420f5
commit e9be1a9108

@ -158,7 +158,8 @@ Item{
Loader{
id: firstPadding
active: secondIndicator.active && (mainItemContainer.inAttentionAnimation || mainItemContainer.inFastRestoreAnimation)
active: secondIndicator.active && !root.reverseLinesPosition
&& (mainItemContainer.inAttentionAnimation || mainItemContainer.inFastRestoreAnimation)
visible: active
sourceComponent: Component{
@ -185,7 +186,8 @@ Item{
Loader{
id: secondPadding
active: firstIndicator.active && (mainItemContainer.inAttentionAnimation || mainItemContainer.inFastRestoreAnimation)
active: firstIndicator.active && !root.reverseLinesPosition
&& (mainItemContainer.inAttentionAnimation || mainItemContainer.inFastRestoreAnimation)
visible: active
sourceComponent: Component{

@ -118,7 +118,7 @@ SequentialAnimation{
function bounceNewWindow(){
//if (isDemandingAttention && !root.dockIsHidden && (root.zoomFactor > 1)){
if (!root.dockIsHidden && (root.zoomFactor > 1) && (root.durationTime>0) && !root.reverseLinesPositionasfa){
if (!root.dockIsHidden && (root.zoomFactor > 1) && (root.durationTime>0) && !root.reverseLinesPosition){
newWindowAnimation.init();
start();
}

Loading…
Cancel
Save