}
}
+#define SCROLL_DELTA 4
void RS_ActionZoomPan::mouseMoveEvent(QMouseEvent * e)
{
x2 = e->x();
y2 = e->y();
//This is where we see if the delta was big enough to warrant a redraw...
- if (getStatus() == 1 && (abs(x2 - x1) > 7 || abs(y2 - y1) > 7))
+//Dunno if this is needed anymore, the Qt rendering pipeline should be able to
+//hang with this...
+// if (getStatus() == 1 && (abs(x2 - x1) > 7 || abs(y2 - y1) > 7))
+ if (getStatus() == 1 && (abs(x2 - x1) > SCROLL_DELTA || abs(y2 - y1) > SCROLL_DELTA))
trigger();
}