git-svn-id: svn://db.shs.com.ru/libs@523 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-04-08 19:00:46 +00:00
parent 3712b42f92
commit 999196e0d5

View File

@@ -204,6 +204,7 @@ void Graphic::procGesture(QGesture * g) {
if (!g) return;
switch (g->gestureType()) {
case Qt::PanGesture: {
if (need_mouse_pan) break;
QPanGesture * pg = (QPanGesture*)g;
QPointF dp = -pg->delta();
dp.rx() /= getScaleX();