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:
@ -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);
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user