StelMovementMgr.cpp   StelMovementMgr.cpp 
skipping to change at line 323 skipping to change at line 323
e.jd=core->getJDay(); e.jd=core->getJDay();
e.x=x; e.x=x;
e.y=y; e.y=y;
timeDragHistory.append(e); timeDragHistory.append(e);
if (timeDragHistory.size()>3) if (timeDragHistory.size()>3)
timeDragHistory.removeFirst(); timeDragHistory.removeFirst();
} }
bool StelMovementMgr::handlePinch(qreal scale, bool started) bool StelMovementMgr::handlePinch(qreal scale, bool started)
{ {
if (flagEnableMouseNavigation == false)
return true;
static double previousFov = 0; static double previousFov = 0;
if (started) if (started)
previousFov = getAimFov(); previousFov = getAimFov();
if (scale>0) if (scale>0)
zoomTo(previousFov/scale, 0); zoomTo(previousFov/scale, 0);
return true; return true;
} }
void StelMovementMgr::handleMouseClicks(QMouseEvent* event) void StelMovementMgr::handleMouseClicks(QMouseEvent* event)
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/