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:
parent
9d3ebca4af
commit
33ad9069e0
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user