From 4774c3401efb3b9e9da5132c1114af036059e510 Mon Sep 17 00:00:00 2001 From: Karl Melscher Date: Wed, 7 Mar 2018 15:22:49 +0100 Subject: Liveindicator changes --- lcarsng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcarsng.c b/lcarsng.c index 1920b58..16f764b 100644 --- a/lcarsng.c +++ b/lcarsng.c @@ -1448,7 +1448,7 @@ void cLCARSNGDisplayMenu::DrawLiveIndicator(void) if (initial || y != lastLiveIndicatorY || Transferring != lastLiveIndicatorTransferring) { if (lastLiveIndicatorY >= 0) osd->DrawRectangle(xs12, lastLiveIndicatorY, xs13 - 1, lastLiveIndicatorY + lineHeight - 1, Theme.Color(clrBackground)); - if (y >= 0) { + if (y > 0) { tColor ColorBg = Theme.Color(clrChannelFrameBg); osd->DrawRectangle(xs12, y, xs12 + lineHeight / 2 - 1, y + lineHeight - 1, ColorBg); osd->DrawEllipse (xs12 + lineHeight / 2, y, xs13 - 1, y + lineHeight - 1, ColorBg, 5); -- cgit v1.2.3