1786108087

This commit is contained in:
2026-08-07 15:08:07 +02:00
parent 9bbda28ed3
commit e21789f78b

View File

@@ -370,6 +370,28 @@ export component AppWindow inherits Window {
vertical-alignment: center;
}
Rectangle {
x: parent.width - 66px;
y: 19px;
width: 44px;
height: 44px;
border-width: 2px;
border-color: black;
background: close-touch.pressed ? Settings.dark-mode ? #777777 : black : Settings.dark-mode ? black : white;
close-touch := TouchArea {
clicked => { Settings.dark-mode = !Settings.dark-mode }
}
Text {
text: Settings.dark-mode ? "D" : "L";
color: close-touch.pressed ? white : black;
font-size: 29px;
horizontal-alignment: center;
vertical-alignment: center;
}
}
if root.current-page == 0: Rectangle {
x: 0;
y: 84px;