[chronojump] Fixed possible zooming on mouse click on jumps/runs evolutionie show best jump
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed possible zooming on mouse click on jumps/runs evolutionie show best jump
- Date: Mon, 21 Mar 2022 11:18:58 +0000 (UTC)
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]