[chronojump] Fixed a possible zooming on mouse click on jumps FV profile show full graph
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed a possible zooming on mouse click on jumps FV profile show full graph
- Date: Mon, 14 Mar 2022 15:16:12 +0000 (UTC)
commit 38cb80b0d76258f79af8dd0441af17fa2726ae95
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 14 16:11:33 2022 +0100
Fixed a possible zooming on mouse click on jumps FV profile show full graph
src/gui/cairo/xy.cs | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/gui/cairo/xy.cs b/src/gui/cairo/xy.cs
index 02d077ebc..7348c5712 100644
--- a/src/gui/cairo/xy.cs
+++ b/src/gui/cairo/xy.cs
@@ -170,14 +170,8 @@ public abstract class CairoXY : CairoGeneric
//true if changed
protected bool findPointMaximums(bool showFullGraph, List<PointF> points_list)
{
- //foreach(PointF p in points_list)
- /*
- int start = lastPointPainted;
- if(lastPointPainted < 0)
- start = 0;
-
- //for(int i = start; i < points_list.Count; i ++)
- */
+ maxX = 0;
+ maxY = 0;
for(int i = 0; i < points_list.Count; i ++)
{
PointF p = points_list[i];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]