diff options
author | louis <louis.braun@gmx.de> | 2013-09-29 15:26:20 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-29 15:26:20 +0200 |
commit | 301b8ff21bccd136e48f2a63f943d69a9ef9c67f (patch) | |
tree | cae598e8f0e8d3a359eda6dfeb1ca945be0817a1 /geometrymanager.c | |
parent | acce422dcfe6bb57818f062b3a6e2db99b4cb2d3 (diff) | |
download | skin-nopacity-301b8ff21bccd136e48f2a63f943d69a9ef9c67f.tar.gz skin-nopacity-301b8ff21bccd136e48f2a63f943d69a9ef9c67f.tar.bz2 |
fixed a bug in volume display
Diffstat (limited to 'geometrymanager.c')
-rw-r--r-- | geometrymanager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometrymanager.c b/geometrymanager.c index 549da73..9f2e9fb 100644 --- a/geometrymanager.c +++ b/geometrymanager.c @@ -162,7 +162,7 @@ void cGeometryManager::SetDisplayVolumeSizes(void) { volumeHeight = osdHeight * config.volumeHeight / 100; volumeLabelHeight = volumeHeight/3; volumeProgressBarWidth = 0.9 * volumeWidth; - volumeProgressBarHeight = 0.3 * volumeWidth; + volumeProgressBarHeight = 0.3 * volumeHeight; if (volumeProgressBarHeight%2 != 0) volumeProgressBarHeight++; } |