From 0d9d528401f9b6db4659cb24312e1b368d751f58 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 26 Aug 2011 14:21:13 +1000 Subject: [PATCH] Right click dragging in event flags when fully zoomed out now selects a smaller area --- Graphs/gGraphView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index f7b5e6b7..a322981f 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -362,6 +362,7 @@ void gGraph::mouseMoveEvent(QMouseEvent * event) } else { qint64 qq=rmax_x-rmin_x; xx=max_x-min_x; + if (xx=qq) xx=1800000; w-=m_marginleft+left; xmult=qq/double(w); qint64 j1=(xmult*x);