From 84e7cb0c2717454a3fe1093397e85e86f78093dc Mon Sep 17 00:00:00 2001 From: BPanther Date: Fri, 6 Oct 2023 22:42:48 +0200 Subject: [PATCH] fix pip config window --- src/gui/pipsetup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/pipsetup.cpp b/src/gui/pipsetup.cpp index 276dd87e4..261be69c9 100644 --- a/src/gui/pipsetup.cpp +++ b/src/gui/pipsetup.cpp @@ -206,8 +206,12 @@ void CPipSetup::paint() int y = (frameBuffer->getScreenHeight() - mheight*4)/2; if (pipVideoDecoder[0] != NULL) + { if (pipVideoDecoder[0]->getBlank()) frameBuffer->paintBoxRel(x_coord, y_coord, width, height, COL_MENUCONTENT_PLUS_0); + } + else + frameBuffer->paintBoxRel(x_coord, y_coord, width, height, COL_MENUCONTENT_PLUS_0); frameBuffer->paintBoxRel(x, y, mwidth, mheight*4, COL_MENUCONTENT_PLUS_0);