[chronojump] CairoBarplot encoder is erased when needed



commit 7f7f6b4db03d77ead119f7acbb94226023afa44c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Apr 1 16:11:57 2022 +0200

    CairoBarplot encoder is erased when needed

 src/gui/app1/encoder.cs | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 6d5c70a39..24119e009 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -5674,6 +5674,11 @@ public partial class ChronoJumpWindow
                if(encoder_capture_curves_bars_pixmap != null)
                        UtilGtk.ErasePaint(encoder_capture_curves_bars_drawingarea, 
encoder_capture_curves_bars_pixmap);
 
+               //erase cairo barplot
+               cairoPaintBarsPre = new CairoPaintBarplotPreEncoder (
+                       encoder_capture_curves_bars_drawingarea_cairo,
+                       preferences.fontType.ToString());
+
                image_encoder_capture.Sensitive = false;
                image_encoder_analyze.Sensitive = false;
                vbox_encoder_analyze_instant.Visible = false; //play with Visible instead of Sensitive 
because with Sensitive the pixmap is fully shown


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