diff options
author | louis <louis.braun@gmx.de> | 2014-02-01 13:04:22 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-02-01 13:04:22 +0100 |
commit | af70b4e06b5229343a3a68935d84200d637d417b (patch) | |
tree | 2d6f1ae0fb6158f0840c45e4cbae9f9b15317c23 /geometrymanager.c | |
parent | 0b29805c23c99922bbade2824d93126bab112316 (diff) | |
download | skin-nopacity-af70b4e06b5229343a3a68935d84200d637d417b.tar.gz skin-nopacity-af70b4e06b5229343a3a68935d84200d637d417b.tar.bz2 |
Fixed bugs that configured OSD top and left values are not correctly used in DisplayChannel, DisplayTracks, DisplayVolume and DisplayMessages
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 ff5c29d..5cc7a9f 100644 --- a/geometrymanager.c +++ b/geometrymanager.c @@ -113,7 +113,7 @@ void cGeometryManager::SetDisplayChannelSizes(void) { channelX = config.GetValue("channelBorderVertical"); channelWidth = osdWidth - 2 * config.GetValue("channelBorderVertical"); channelHeight = osdHeight * config.GetValue("channelHeight") / 100; - channelTop = osdTop + osdHeight - channelHeight - config.GetValue("channelBorderBottom"); + channelTop = osdHeight - channelHeight - config.GetValue("channelBorderBottom"); channelHeaderHeight = 0.2 * channelHeight; channelFooterHeight = 0.2 * channelHeight; |