wallpaper cropper slider inset icon, fixed disabled splitbutton state
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 10s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 28s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m8s

This commit is contained in:
2026-06-08 10:03:26 +02:00
parent 628c4b32a5
commit fe91a65324
11 changed files with 47 additions and 38 deletions
+2 -2
View File
@@ -77,9 +77,9 @@ CustomMouseArea {
anchors.leftMargin: -Appearance.padding.normal
anchors.margins: -Appearance.padding.small
anchors.rightMargin: -Appearance.padding.normal
disabled: {
enabled: {
const now = new Date();
return root.currMonth === now.getMonth() && root.currYear === now.getFullYear();
return root.currMonth !== now.getMonth() || root.currYear !== now.getFullYear();
}
radius: Appearance.rounding.full
+1 -1
View File
@@ -296,7 +296,7 @@ Item {
id: controlState
color: control.canUse ? DynamicColors.palette[`m3on${control.set_color}`] : DynamicColors.palette[`m3on${control.set_color}Container`]
disabled: !control.canUse
enabled: control.canUse
onClicked: {
control.onClicked();