[chronojump/FS-TFT-Menu] CairoBars: Fixed not showing text on printTextMultiline since recent comits



commit 0487094498f06ba0cb329aa8e657909a61a95c92
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Apr 20 10:14:10 2022 +0200

    CairoBars: Fixed not showing text on printTextMultiline since recent comits

 src/gui/cairo/bars.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/cairo/bars.cs b/src/gui/cairo/bars.cs
index 78f41985e..3d8568129 100644
--- a/src/gui/cairo/bars.cs
+++ b/src/gui/cairo/bars.cs
@@ -529,7 +529,10 @@ public abstract class CairoBars : CairoGeneric
 
                //draw rectangle first as it will be in the back
                if(inRectangle)
+               {
                        drawRectangleAroundText (x, y, textH, text, g, yellow);
+                       g.SetSourceColor (black);
+               }
 
                string [] strFull = text.Split(new char[] {'\n'});
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]