feat: update tips

This commit is contained in:
rankun 2020-08-02 12:54:32 +08:00
parent 0f5c116582
commit 2ba002f269
2 changed files with 2 additions and 1 deletions

View file

@ -494,6 +494,7 @@ void InputConvertGame::stopMouseMoveTimer()
bool InputConvertGame::switchGameMap()
{
m_gameMap = !m_gameMap;
qInfo() << tr("current keymap mode: %1").arg(m_gameMap ? tr("custom") : tr("normal"));
if (!m_keyMap.isValidMouseMoveMap()) {
return m_gameMap;

View file

@ -277,7 +277,7 @@ void KeyMap::loadKeyMap(const QString &json)
}
// this must be called after m_keyMapNodes is stable
makeReverseMap();
qInfo() << tr("Script updated, Press ~ key to switch the mapping mode");
qInfo() << tr("Script updated, current keymap mode:normal, Press ~ key to switch keymap mode");
parseError:
if (!errorString.isEmpty()) {