summaryrefslogtreecommitdiff
path: root/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-18 12:10:41 -0500
committerATMDA <atdma2600@gmail.com>2025-11-18 12:10:41 -0500
commit7ac403d93304f122b051ad3c9ef794941648d1f5 (patch)
tree6278afe48077ceecd37cb2f4ea0d25ee69bf1828 /modules/controlcenter/taskbar/ConnectedButtonGroup.qml
parentcontrolcenter: corrected launcher animation on data update (diff)
downloadcaelestia-shell-7ac403d93304f122b051ad3c9ef794941648d1f5.tar.gz
caelestia-shell-7ac403d93304f122b051ad3c9ef794941648d1f5.tar.bz2
caelestia-shell-7ac403d93304f122b051ad3c9ef794941648d1f5.zip
controlcenter: added more missing options to taskbar panel
Diffstat (limited to 'modules/controlcenter/taskbar/ConnectedButtonGroup.qml')
-rw-r--r--modules/controlcenter/taskbar/ConnectedButtonGroup.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/controlcenter/taskbar/ConnectedButtonGroup.qml b/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
index e35ccfc..af386c3 100644
--- a/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
+++ b/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
@@ -131,6 +131,24 @@ StyledRect {
button.isChecked = root.rootItem.trayRecolour;
}
}
+
+ function onScrollWorkspacesChanged() {
+ if (modelData.propertyName === "scrollWorkspaces") {
+ button.isChecked = root.rootItem.scrollWorkspaces;
+ }
+ }
+
+ function onScrollVolumeChanged() {
+ if (modelData.propertyName === "scrollVolume") {
+ button.isChecked = root.rootItem.scrollVolume;
+ }
+ }
+
+ function onScrollBrightnessChanged() {
+ if (modelData.propertyName === "scrollBrightness") {
+ button.isChecked = root.rootItem.scrollBrightness;
+ }
+ }
}
// Match utilities Toggles radius styling