From 5daac3a472dba07b786e1fa71eef1b1cc65b0b77 Mon Sep 17 00:00:00 2001 From: theonlyavengerreal <61971602+theonlyavengerreal@users.noreply.github.com> Date: Tue, 5 Dec 2023 18:45:07 +0200 Subject: [PATCH] Update VolumePoup.cs Prevent incorrect volume level display, same as Windows. --- HideVolumeOSD/VolumePoup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HideVolumeOSD/VolumePoup.cs b/HideVolumeOSD/VolumePoup.cs index 8099b31..c173667 100644 --- a/HideVolumeOSD/VolumePoup.cs +++ b/HideVolumeOSD/VolumePoup.cs @@ -39,7 +39,7 @@ public void updateValueSafe() } else { - volume = ((int)(getVolume() * 100)).ToString(); + volume = (getVolume() * 100).ToString(); Refresh(); } }