[chronojump] Fixed possible zooming on mouse click on jumps/runs evolutionie show best jump



commit af2baa99d586539d3f25e46550eafbba62f13ca2
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 21 12:14:15 2022 +0100

    Fixed possible zooming on mouse click on jumps/runs evolutionie show best jump

 src/gui/cairo/xy.cs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gui/cairo/xy.cs b/src/gui/cairo/xy.cs
index 783dfe359..1a623f256 100644
--- a/src/gui/cairo/xy.cs
+++ b/src/gui/cairo/xy.cs
@@ -188,6 +188,8 @@ public abstract class CairoXY : CairoGeneric
        //true if changed
        protected bool findPointMaximums(bool showFullGraph, List<PointF> points_list)
        {
+               minX = 1000000;
+               minY = 1000000;
                maxX = 0;
                maxY = 0;
                for(int i = 0; i < points_list.Count; i ++)


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