diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-26 00:10:05 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-26 00:10:05 +0800 |
| commit | 90a65cd153183014ee50d74f9e32ca28165c7880 (patch) | |
| tree | 0708d313b17012620007397073e121d2f65f7f91 /modules/dashboard/Content.qml | |
| parent | bar: fix battery charging icons (diff) | |
| download | caelestia-shell-90a65cd153183014ee50d74f9e32ca28165c7880.tar.gz caelestia-shell-90a65cd153183014ee50d74f9e32ca28165c7880.tar.bz2 caelestia-shell-90a65cd153183014ee50d74f9e32ca28165c7880.zip | |
feat: dashboard media panel
Diffstat (limited to 'modules/dashboard/Content.qml')
| -rw-r--r-- | modules/dashboard/Content.qml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index 5f65e7f..fc2046f 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -48,7 +48,39 @@ Item { currentIndex: tabs.currentIndex - Dash {} + ClippingWrapperRectangle { + radius: Appearance.rounding.normal + color: "transparent" + + Dash { + clip: true + } + } + + ClippingWrapperRectangle { + radius: Appearance.rounding.normal + color: "transparent" + + Media { + clip: true + } + } + } + } + + Behavior on implicitWidth { + NumberAnimation { + duration: Appearance.anim.durations.large + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.emphasized + } + } + + Behavior on implicitHeight { + NumberAnimation { + duration: Appearance.anim.durations.large + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.emphasized } } } |