fix: stop mouse move touch on stop keymap

Close #185
This commit is contained in:
rankun 2020-06-06 19:06:19 +08:00
parent d0890bf46b
commit 73f01fa2c7

View file

@ -470,6 +470,8 @@ bool InputConvertGame::switchGameMap()
QGuiApplication::setOverrideCursor(QCursor(Qt::CrossCursor));
#endif
} else {
stopMouseMoveTimer();
mouseMoveStopTouch();
QGuiApplication::restoreOverrideCursor();
}
return m_gameMap;