1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-09 00:58:15 +03:00

make slide in/outs relevant to animations speed

This commit is contained in:
Michail Vourlakos 2021-01-07 18:14:54 +02:00
parent 9d3ebca4af
commit 33ad9069e0

View File

@ -49,7 +49,7 @@ Item{
property int maskFloatedGap: maskIsFloating ? Math.max(0, metrics.margin.screenEdge - background.shadows.headThickness) : 0
property int animationSpeed: LatteCore.WindowSystem.compositingActive ?
(root.editMode ? 400 : animations.speedFactor.normal * 1.62 * animations.duration.large) : 0
(root.editMode ? 400 : animations.speedFactor.current * 1.62 * animations.duration.large) : 0