1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

fix all task indicators for bouncing animations

--make task indicators properly placed when tasks
are bouncing
This commit is contained in:
Michail Vourlakos 2020-03-25 19:19:59 +02:00
parent 7759fff9ec
commit cb804c9f97

View File

@ -58,10 +58,10 @@ Loader {
return root.vertical ? taskItem.wrapperAlias.height - 2*taskItem.wrapperAlias.mScale*root.lengthExtMargin : taskItem.wrapperAlias.height;
}
readonly property bool locked: inAttentionAnimation || inNewWindowAnimation
readonly property bool locked: inAttentionAnimation || inNewWindowAnimation || inBouncingAnimation
property real visualLockedWidth: root.iconSize + root.internalWidthMargins
property real visualLockedHeight: root.iconSize + root.internalHeightMargins
property real visualLockedWidth: root.vertical ? root.screenEdgeMargin + root.iconSize + root.internalWidthMargins : root.iconSize + root.internalWidthMargins
property real visualLockedHeight: !root.vertical ? root.screenEdgeMargin + root.iconSize + root.internalHeightMargins : root.iconSize + root.internalHeightMargins
//! Connections !//