summaryrefslogtreecommitdiff
path: root/geometrymanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'geometrymanager.c')
-rw-r--r--geometrymanager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/geometrymanager.c b/geometrymanager.c
index 1f2dd4e..e8a3361 100644
--- a/geometrymanager.c
+++ b/geometrymanager.c
@@ -102,12 +102,12 @@ void cGeometryManager::SetGeometry(void) {
channelOsdLeft = osdLeft;
channelOsdTop = osdTop;
channelOsdWidth = osdWidth;
- channelOsdHeight = osdHeight;
+ channelOsdHeight = osdHeight - config.GetValue("channelBorderBottom");
channelX = config.GetValue("channelBorderVertical");
- channelWidth = osdWidth - 2 * config.GetValue("channelBorderVertical");
- channelHeight = osdHeight * config.GetValue("channelHeight") / 100;
- channelTop = osdHeight - channelHeight - config.GetValue("channelBorderBottom");
+ channelWidth = channelOsdWidth - 2 * config.GetValue("channelBorderVertical");
+ channelHeight = channelOsdHeight * config.GetValue("channelHeight") / 100;
+ channelTop = channelOsdHeight - channelHeight;
if (!(config.GetValue("scraperInfo") && config.GetValue("displayPoster"))) {
channelOsdLeft += channelX;