Right click dragging in event flags when fully zoomed out now selects a smaller area

This commit is contained in:
Mark Watkins 2011-08-26 14:21:13 +10:00
parent 7e2f36230f
commit 0d9d528401

View File

@ -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);