aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/ControlTile.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/quickshell/ControlTile.qml')
-rw-r--r--modules/system/quickshell/ControlTile.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/system/quickshell/ControlTile.qml b/modules/system/quickshell/ControlTile.qml
index 2c8e0a6..d944e89 100644
--- a/modules/system/quickshell/ControlTile.qml
+++ b/modules/system/quickshell/ControlTile.qml
@@ -16,12 +16,13 @@ Item {
anchors.fill: parent
cornerRadius: 16
fillColor: root.active ? Theme.accent : Theme.surface
-
+
MouseArea {
anchors.fill: parent
hoverEnabled: true
onClicked: {
- if (root.clickHandler) root.clickHandler()
+ if (root.clickHandler)
+ root.clickHandler();
}
}
@@ -47,4 +48,4 @@ Item {
}
}
}
-} \ No newline at end of file
+}