summaryrefslogtreecommitdiff
path: root/widgets/StateLayer.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-27 10:42:08 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-27 10:42:08 +0800
commit63da636144635e5aa6b7ff1a2d2eec2a1e35aafa (patch)
treecd5461058c7afedb2d17f474f13ee218759519ba /widgets/StateLayer.qml
parentdrawers: dont use hyprland cursor pos (diff)
downloadcaelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.tar.gz
caelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.tar.bz2
caelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.zip
internal: bar only vertical
The bar can only be vertical Remove box, boxlayout and anchortext Add StyledClippingRect
Diffstat (limited to 'widgets/StateLayer.qml')
-rw-r--r--widgets/StateLayer.qml10
1 files changed, 1 insertions, 9 deletions
diff --git a/widgets/StateLayer.qml b/widgets/StateLayer.qml
index 8f39341..1c8f947 100644
--- a/widgets/StateLayer.qml
+++ b/widgets/StateLayer.qml
@@ -3,7 +3,7 @@ import "root:/services"
import "root:/config"
import QtQuick
-Rectangle {
+StyledRect {
id: root
readonly property alias hovered: mouse.hovered
@@ -40,12 +40,4 @@ Rectangle {
easing.bezierCurve: Appearance.anim.curves.standard
}
}
-
- Behavior on color {
- ColorAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
- }
}