forked from Shinonome/dots-hyprland
hefty: bar: cleaner hover anim when in special ws
This commit is contained in:
@@ -272,9 +272,12 @@ Item {
|
|||||||
|
|
||||||
FadeLoader {
|
FadeLoader {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
shown: wsModel.specialWorkspaceActive && root.specialBlur > 0
|
shown: wsModel.specialWorkspaceActive
|
||||||
scale: 0.8 + 0.2 * root.specialBlur
|
scale: 0.8 + 0.2 * root.specialBlur
|
||||||
|
|
||||||
|
opacity: root.specialBlur
|
||||||
|
Behavior on opacity {} // Don't animate, as specialBlur is already animated
|
||||||
|
|
||||||
sourceComponent: Pill {
|
sourceComponent: Pill {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
property real undirectionalWidth: root.activeWorkspaceSize
|
property real undirectionalWidth: root.activeWorkspaceSize
|
||||||
|
|||||||
Reference in New Issue
Block a user