From cfca4d5280095929237d4909482e8bfa7f24fda5 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 2 Aug 2026 22:11:46 +0200 Subject: [PATCH] fix rounding issue in Pw.qml --- modules/bar/Pw.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bar/Pw.qml b/modules/bar/Pw.qml index 3094f2e..832e5b7 100644 --- a/modules/bar/Pw.qml +++ b/modules/bar/Pw.qml @@ -62,7 +62,7 @@ Rectangle { opacity: root.defaultAudio?.audio.muted ? 0.6 : 1.0 } StyledText { - text: Math.floor(root.defaultAudio?.audio.volume * 100) + "%" + text: Math.round(root.defaultAudio?.audio.volume * 100) + "%" opacity: root.defaultAudio?.audio.muted ? 0.6 : 1.0 } }