mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 14:33:08 +00:00
translucent favoritestrip when can't be dropped on
This commit is contained in:
parent
b05ee6d25d
commit
e345f30b37
1 changed files with 9 additions and 0 deletions
|
|
@ -36,7 +36,16 @@ LauncherContainer {
|
|||
|
||||
visible: flow.children.length > 0 || launcherDragManager.active
|
||||
|
||||
opacity: launcherDragManager.active && plasmoid.nativeInterface.applicationListModel.favoriteCount >= plasmoid.nativeInterface.applicationListModel.maxFavoriteCount ? 0.3 : 1
|
||||
|
||||
height: launcherGrid.cellHeight + topPadding + bottomPadding
|
||||
|
||||
frame.implicitWidth: launcherGrid.cellWidth * Math.max(1, flow.children.length) + frame.leftPadding + frame.rightPadding
|
||||
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
duration: units.longDuration * 4
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue