summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/Content.qml32
1 files changed, 6 insertions, 26 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml
index b7b48ff..84079ef 100644
--- a/modules/dashboard/Content.qml
+++ b/modules/dashboard/Content.qml
@@ -4,7 +4,6 @@ import "root:/config"
import Quickshell
import Quickshell.Widgets
import QtQuick
-import QtQuick.Controls
Item {
id: root
@@ -84,35 +83,16 @@ Item {
Row {
id: row
- ClippingWrapperRectangle {
- id: dash
-
- radius: Appearance.rounding.normal
- color: "transparent"
-
- Dash {
- shouldUpdate: visible && dash === view.currentItem
- }
+ Dash {
+ shouldUpdate: visible && this === view.currentItem
}
- ClippingWrapperRectangle {
- id: media
-
- radius: Appearance.rounding.normal
- color: "transparent"
-
- Media {
- shouldUpdate: visible && media === view.currentItem
- visibilities: root.visibilities
- }
+ Media {
+ shouldUpdate: visible && this === view.currentItem
+ visibilities: root.visibilities
}
- ClippingWrapperRectangle {
- radius: Appearance.rounding.normal
- color: "transparent"
-
- Performance {}
- }
+ Performance {}
}
Behavior on contentX {