improvements for animations

--restore on startup neighbour tasks on bouncing launcher
--show the remove window animation only when there isnt
launcher for the last window
pull/1/head
Michail Vourlakos 8 years ago
parent 1693191f81
commit ce92f88af2

@ -523,7 +523,7 @@ MouseArea{
}
onDelayingRemoveChanged: {
if(delayingRemove && isWindow)
if(delayingRemove && (!root.launcherExists(mainItemContainer.launcherUrl) && mainItemContainer.isWindow))
groupWindowRemoved();
}

@ -544,13 +544,16 @@ Item{
if(!launchedAlready) {
launchedAlready = true;
root.signalAnimationsNeedThickness(1);
root.globalDirectRender=false;
icList.directRender=false;
root.updateScale(index+1, 1, 0);
root.updateScale(index-1, 1, 0);
root.noTasksInAnimation++;
mainItemContainer.setBlockingAnimation(true);
}
wrapper.tempScaleWidth = wrapper.mScale;
wrapper.tempScaleHeight = wrapper.mScale;
icList.hoveredIndex = -1;
}

Loading…
Cancel
Save