From 71d2de77510586f92844eec970d2b453cbc8de7e Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 6 May 2022 13:19:37 +0200 Subject: Optimize channelview OSD size A smaller OSD size is also used when "Use scraperinfos and pictures" is disabled in the plugin main menu --- geometrymanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geometrymanager.c') diff --git a/geometrymanager.c b/geometrymanager.c index 4dc5c6b..aca3007 100644 --- a/geometrymanager.c +++ b/geometrymanager.c @@ -109,7 +109,7 @@ void cGeometryManager::SetGeometry(void) { channelHeight = osdHeight * config.GetValue("channelHeight") / 100; channelTop = osdHeight - channelHeight - config.GetValue("channelBorderBottom"); - if (!config.GetValue("displayPoster")) { + if (!(config.GetValue("scraperInfo") && config.GetValue("displayPoster"))) { channelOsdLeft += channelX; channelOsdTop += channelTop; channelOsdWidth = channelWidth; -- cgit v1.2.3