wmusic: Fix volume display bug.
The black pixels which were copied to the right part of the volume slider when the volume was decreased actually included a one-pixel-wide line of the bright red indicating max volume.
This commit is contained in:
parent
4d7d5d7ee8
commit
988a0c0f20
|
@ -635,7 +635,7 @@ void DrawVolume(void)
|
|||
if (volume > 36)
|
||||
volume = 36;
|
||||
copyNumArea(61, 0, volume, 6, 7, 18);
|
||||
copyNumArea(97, 0, 36-volume, 6, 7+volume, 18);
|
||||
copyNumArea(98, 0, 36-volume, 6, 7+volume, 18);
|
||||
}
|
||||
|
||||
void DrawKbps(int bps)
|
||||
|
|
Loading…
Reference in a new issue