This commit is contained in:
lysec
2025-10-09 15:44:44 +02:00
3 changed files with 58 additions and 70 deletions
+2 -13
View File
@@ -368,7 +368,8 @@ Loader {
Connections {
target: Time
function onDateChanged() {
secondsProgress.progress = Time.date.getSeconds() / 60
const total = Time.date.getSeconds() * 1000 + Time.date.getMilliseconds()
secondsProgress.progress = total / 60000
}
}
@@ -412,12 +413,6 @@ Loader {
color: Color.mOnSurface
horizontalAlignment: Text.AlignHCenter
Layout.alignment: Qt.AlignHCenter
Connections {
target: Time
function onDateChanged() {// Trigger text update
}
}
}
NText {
@@ -427,12 +422,6 @@ Loader {
color: Color.mOnSurfaceVariant
horizontalAlignment: Text.AlignHCenter
Layout.alignment: Qt.AlignHCenter
Connections {
target: Time
function onDateChanged() {// Trigger text update
}
}
}
}
}