[chronojump] Fixed encoder_capture_curves_bars_pixmap on all situations
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed encoder_capture_curves_bars_pixmap on all situations
- Date: Sat, 11 Mar 2017 11:51:54 +0000 (UTC)
commit dab48eb1360219eba2bd6f7e66f57aa314205ad7
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Mar 11 12:49:15 2017 +0100
Fixed encoder_capture_curves_bars_pixmap on all situations
src/gui/encoder.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 6702e72..b02964a 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -4565,12 +4565,13 @@ public partial class ChronoJumpWindow
Gdk.Window window = ev.Window;
Gdk.Rectangle allocation = encoder_capture_curves_bars_drawingarea.Allocation;
+ LogB.Debug("CONFIGURE");
if(encoder_capture_curves_bars_pixmap == null || encoder_capture_curves_sizeChanged ||
allocation.Width != encoder_capture_curves_allocationXOld ||
allocation.Height != encoder_capture_curves_allocationYOld)
{
- if(encoder_capture_curves_bars_pixmap == null || firstSetOfCont)
+ if(encoder_capture_curves_bars_pixmap == null || ! radio_encoder_capture_cont.Active
|| firstSetOfCont)
encoder_capture_curves_bars_pixmap = new Gdk.Pixmap (window,
allocation.Width, allocation.Height, -1);
callPlotCurvesGraphDoPlot();
@@ -4587,7 +4588,7 @@ public partial class ChronoJumpWindow
/* in some mono installations, configure_event is not called, but expose_event yes.
* Do here the initialization
*/
- //LogB.Debug("EXPOSE");
+ LogB.Debug("EXPOSE");
Gdk.Rectangle allocation = encoder_capture_curves_bars_drawingarea.Allocation;
if(encoder_capture_curves_bars_pixmap == null || encoder_capture_curves_sizeChanged ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]