feat: volume overdrive

This commit is contained in:
FUFSoB
2025-09-24 14:04:08 +05:00
parent 1673201916
commit fb64b3ba43
5 changed files with 24 additions and 5 deletions
+5 -1
View File
@@ -70,7 +70,11 @@ Loader {
// Get progress bar color
function getProgressColor() {
if (osdType === OSD.Type.Volume) {
return isMuted ? Color.mError : Color.mPrimary
if (isMuted)
return Color.mError
if (currentVolume > 1.0)
return Color.mError
return Color.mPrimary
} else {
return Color.mPrimary
}