Auto-select last used tool when user cancels build action, only for roads now

This commit is contained in:
pelya
2014-11-12 03:25:09 +02:00
parent 5934a69f67
commit fdddd873dd
6 changed files with 32 additions and 1 deletions

View File

@@ -623,6 +623,7 @@ int VideoDriver_SDL::PollEvent()
// Two-finger click - hacky way to determine if the right mouse button is already pressed without processing the left button event
// Cancel whatewer action we were doing, to allow two finger scrolling
ResetObjectToPlace();
SelectLastTool();
}
#endif
} else if (ev.button.button == SDL_BUTTON_RIGHT) {