This commit is contained in:
Zacharias-Brohn
2026-03-20 13:45:03 +01:00
parent c1efd7dacc
commit 0644c5bf86
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -182,14 +182,14 @@ Item {
control.onClicked(); control.onClicked();
} }
color: control.active ? DynamicColors.palette[`m3on${control.colour}`] : DynamicColors.palette[`m3on${control.colour}Container`] color: control.active ? DynamicColors.palette[`m3on${control.set_color}`] : DynamicColors.palette[`m3on${control.set_color}Container`]
} }
MaterialIcon { MaterialIcon {
id: controlIcon id: controlIcon
anchors.centerIn: parent anchors.centerIn: parent
color: control.active ? DynamicColors.palette[`m3on${control.colour}`] : DynamicColors.palette[`m3on${control.colour}Container`] color: control.active ? DynamicColors.palette[`m3on${control.set_color}`] : DynamicColors.palette[`m3on${control.set_color}Container`]
fill: control.active ? 1 : 0 fill: control.active ? 1 : 0
font.pointSize: Appearance.font.size.large font.pointSize: Appearance.font.size.large
+1
View File
@@ -1,5 +1,6 @@
//@ pragma UseQApplication //@ pragma UseQApplication
//@ pragma Env QSG_RENDER_LOOP=threaded //@ pragma Env QSG_RENDER_LOOP=threaded
//@ pragma Env QSG_RHI_BACKEND=vulkan
//@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0 //@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0
//@ pragma Env QS_NO_RELOAD_POPUP=1 //@ pragma Env QS_NO_RELOAD_POPUP=1
import Quickshell import Quickshell