DigitalClock: improved accuracy, removed useless connections

This commit is contained in:
ItsLemmy
2025-10-09 09:36:31 -04:00
parent b713c1b812
commit a25ea9fa77
2 changed files with 14 additions and 12 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ NPanel {
Connections {
target: Time
function onDateChanged() {
secondsProgress.progress = Time.date.getSeconds() / 60
const total = Time.date.getSeconds() * 1000 + Time.date.getMilliseconds()
secondsProgress.progress = total / 60000
}
}