|
|
@ -54,7 +54,7 @@ SequentialAnimation{
|
|
|
|
|
|
|
|
|
|
|
|
PropertyAnimation {
|
|
|
|
PropertyAnimation {
|
|
|
|
target: taskItem.parabolicItem
|
|
|
|
target: taskItem.parabolicItem
|
|
|
|
property: (icList.orientation == Qt.Vertical) ? "tempScaleHeight" : "tempScaleWidth"
|
|
|
|
property: "zoomLength"
|
|
|
|
to: 1
|
|
|
|
to: 1
|
|
|
|
duration: showWindowAnimation.speed
|
|
|
|
duration: showWindowAnimation.speed
|
|
|
|
easing.type: Easing.OutQuad
|
|
|
|
easing.type: Easing.OutQuad
|
|
|
@ -64,7 +64,7 @@ SequentialAnimation{
|
|
|
|
|
|
|
|
|
|
|
|
PropertyAnimation {
|
|
|
|
PropertyAnimation {
|
|
|
|
target: taskItem.parabolicItem
|
|
|
|
target: taskItem.parabolicItem
|
|
|
|
property: (icList.orientation == Qt.Vertical) ? "tempScaleWidth" : "tempScaleHeight"
|
|
|
|
property: "zoomThickness"
|
|
|
|
to: 1
|
|
|
|
to: 1
|
|
|
|
duration: showWindowAnimation.speed
|
|
|
|
duration: showWindowAnimation.speed
|
|
|
|
easing.type: Easing.OutQuad
|
|
|
|
easing.type: Easing.OutQuad
|
|
|
@ -153,16 +153,16 @@ SequentialAnimation{
|
|
|
|
if (hideWindow) {
|
|
|
|
if (hideWindow) {
|
|
|
|
isForcedHidden = true;
|
|
|
|
isForcedHidden = true;
|
|
|
|
taskItem.visible = false;
|
|
|
|
taskItem.visible = false;
|
|
|
|
taskItem.parabolicItem.tempScaleWidth = 0;
|
|
|
|
taskItem.parabolicItem.zoomLength = 0.0;
|
|
|
|
taskItem.parabolicItem.tempScaleHeight = 0;
|
|
|
|
taskItem.parabolicItem.zoomThickness = 0.0;
|
|
|
|
taskItem.parabolicItem.opacity = 0;
|
|
|
|
taskItem.parabolicItem.opacity = 0;
|
|
|
|
taskItem.inAnimation = false;
|
|
|
|
taskItem.inAnimation = false;
|
|
|
|
} else if (!LatteCore.WindowSystem.compositingActive || root.inDraggingPhase
|
|
|
|
} else if (!LatteCore.WindowSystem.compositingActive || root.inDraggingPhase
|
|
|
|
|| taskItem.isSeparator) {
|
|
|
|
|| taskItem.isSeparator) {
|
|
|
|
isForcedHidden = false;
|
|
|
|
isForcedHidden = false;
|
|
|
|
taskItem.visible = true;
|
|
|
|
taskItem.visible = true;
|
|
|
|
taskItem.parabolicItem.tempScaleWidth = 1;
|
|
|
|
taskItem.parabolicItem.zoomLength = 1.0;
|
|
|
|
taskItem.parabolicItem.tempScaleHeight = 1;
|
|
|
|
taskItem.parabolicItem.zoomThickness = 1.0;
|
|
|
|
taskItem.parabolicItem.zoom = 1;
|
|
|
|
taskItem.parabolicItem.zoom = 1;
|
|
|
|
taskItem.parabolicItem.opacity = 1;
|
|
|
|
taskItem.parabolicItem.opacity = 1;
|
|
|
|
taskItem.inAnimation = false;
|
|
|
|
taskItem.inAnimation = false;
|
|
|
@ -170,8 +170,8 @@ SequentialAnimation{
|
|
|
|
&& (taskItem.abilities.animations.speedFactor.current !== 0) && !launcherIsAlreadyShown){
|
|
|
|
&& (taskItem.abilities.animations.speedFactor.current !== 0) && !launcherIsAlreadyShown){
|
|
|
|
isForcedHidden = false;
|
|
|
|
isForcedHidden = false;
|
|
|
|
taskItem.visible = true;
|
|
|
|
taskItem.visible = true;
|
|
|
|
taskItem.parabolicItem.tempScaleWidth = 0;
|
|
|
|
taskItem.parabolicItem.zoomLength = 0.0;
|
|
|
|
taskItem.parabolicItem.tempScaleHeight = 0;
|
|
|
|
taskItem.parabolicItem.zoomThickness = 0.0;
|
|
|
|
start();
|
|
|
|
start();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
isForcedHidden = false;
|
|
|
|
isForcedHidden = false;
|
|
|
@ -181,8 +181,8 @@ SequentialAnimation{
|
|
|
|
taskItem.parabolicItem.zoom = frozenTask.zoom;
|
|
|
|
taskItem.parabolicItem.zoom = frozenTask.zoom;
|
|
|
|
tasksExtendedManager.removeFrozenTask(taskItem.launcherUrl);
|
|
|
|
tasksExtendedManager.removeFrozenTask(taskItem.launcherUrl);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
taskItem.parabolicItem.tempScaleWidth = 1;
|
|
|
|
taskItem.parabolicItem.zoomLength = 1.0;
|
|
|
|
taskItem.parabolicItem.tempScaleHeight = 1;
|
|
|
|
taskItem.parabolicItem.zoomThickness = 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//! by enabling it we break the bouncing animation
|
|
|
|
//! by enabling it we break the bouncing animation
|
|
|
|