prevent unnecessary call of leftButtonDrag (#1938)
This commit is contained in:
parent
6c7e544772
commit
b266adeddf
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void SceneViewer::tabletEvent(QTabletEvent *e) {
|
|||
break;
|
||||
}
|
||||
#endif
|
||||
QPoint curPos = e->pos() * getDevPixRatio();
|
||||
QPointF curPos = e->posF() * getDevPixRatio();
|
||||
// It seems that the tabletEvent is called more often than mouseMoveEvent.
|
||||
// So I fire the interval timer in order to limit the following process
|
||||
// to be called in 50fps in maximum.
|
||||
|
|
Loading…
Reference in a new issue