mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-22 05:30:44 +00:00
Right click dragging in event flags when fully zoomed out now selects a smaller area
This commit is contained in:
parent
7e2f36230f
commit
0d9d528401
@ -362,6 +362,7 @@ void gGraph::mouseMoveEvent(QMouseEvent * event)
|
|||||||
} else {
|
} else {
|
||||||
qint64 qq=rmax_x-rmin_x;
|
qint64 qq=rmax_x-rmin_x;
|
||||||
xx=max_x-min_x;
|
xx=max_x-min_x;
|
||||||
|
if (xx=qq) xx=1800000;
|
||||||
w-=m_marginleft+left;
|
w-=m_marginleft+left;
|
||||||
xmult=qq/double(w);
|
xmult=qq/double(w);
|
||||||
qint64 j1=(xmult*x);
|
qint64 j1=(xmult*x);
|
||||||
|
Loading…
Reference in New Issue
Block a user