From 3d954528175fec21aa3291e4fd5d8cfb15f4bf96 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 30 Mar 2020 10:08:25 +0200 Subject: Fixed setup splitscreen mode --- displaymenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/displaymenu.c b/displaymenu.c index 44059e3..21221f8 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -644,8 +644,8 @@ void cLCARSNGDisplayMenu::DrawMainBracket(void) } } if (MenuCategory() == mcSetup) { - DrawRectangleOutline(osd, xm02, ys00, xm03 - 1, ys01 - 1, frameColorBr, frameColorBg, 15); - osd->DrawText(xm02 + Margin, ys00 + Margin, tr("Setup"), frameColorFg, frameColorBg, font, xm03 - xm02 - 2 * Margin, lineHeight - Margin, taBottom | taLeft | taBorder); + DrawRectangleOutline(osd, xm02, ys00, xm08 - 1, ys01 - 1, frameColorBr, frameColorBg, 15); + osd->DrawText(xm02 + Margin, ys00 + Margin, tr("Setup"), frameColorFg, frameColorBg, font, xm08 - xm02 - 2 * Margin, lineHeight - Margin, taBottom | taLeft | taBorder); } // if (MenuCategory() == mcCommand) // osd->DrawText(xm02, ys00, tr("Commands"), Theme.Color(clrMenuFrameFg), frameColor, font, xm04 - xm02 - Gap, lineHeight, taBottom | taLeft | taBorder); -- cgit v1.2.3