From 90a65cd153183014ee50d74f9e32ca28165c7880 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 26 May 2025 00:10:05 +0800 Subject: feat: dashboard media panel --- modules/dashboard/Content.qml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'modules/dashboard/Content.qml') 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 } } } -- cgit v1.2.3-freya