[chronojump] CairoBars: Fixed not showing text on printTextMultiline since recent comits



commit 8bcf3558702501d7748113e3bd7354c747096f04
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]