1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-15 21:49:28 +03:00

increase bouncing thickness

This commit is contained in:
Michail Vourlakos
2017-10-22 01:56:27 +03:00
parent 1a87d40611
commit 7357df463e
2 changed files with 8 additions and 9 deletions

View File

@ -69,15 +69,12 @@ ParallelAnimation{
}
onStopped: {
if (latteDock)
latteDock.setGlobalDirectRender(false);
else
icList.directRender = false;
if (newWindowAnimation.paused){
if(mainItemContainer.containsMouse) {
if (latteDock)
latteDock.setGlobalDirectRender(false);
else
icList.directRender = false;
}
newWindowAnimation.stop();
wrapper.calculateScales((root.iconSize+root.iconMargin)/2);
}

View File

@ -40,9 +40,11 @@ SequentialAnimation{
PropertyAnimation {
target: wrapper
property: (icList.orientation == Qt.Vertical) ? "tempScaleWidth" : "tempScaleHeight"
to: 1 + (0.6 * (root.zoomFactor-1))
to: 1 + (thickPercentage * (root.zoomFactor-1))
duration: newWindowAnimation.speed
easing.type: Easing.OutQuad
property real thickPercentage: mainItemContainer.inAttentionAnimation ? 0.8 : 0.6
}
PropertyAnimation {