mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	(untested) activate lobby UI on 3-finger touch
This commit is contained in:
		| @@ -21,6 +21,8 @@ | ||||
| #include "../gui/EventDispatcher.h" | ||||
| #include "../gui/MouseButton.h" | ||||
| #include "../gui/WindowHandler.h" | ||||
| #include "../CServerHandler.h" | ||||
| #include "../globalLobby/GlobalLobbyClient.h" | ||||
|  | ||||
| #if defined(VCMI_ANDROID) | ||||
| #include "../../lib/CAndroidVMHelper.h" | ||||
| @@ -149,6 +151,10 @@ void InputSourceTouch::handleEventFingerDown(const SDL_TouchFingerEvent & tfinge | ||||
| 			break; | ||||
| 		} | ||||
| 		case TouchState::TAP_DOWN_DOUBLE: | ||||
| 		{ | ||||
| 			CSH->getGlobalLobby().activateInterface(); | ||||
| 			break; | ||||
| 		} | ||||
| 		case TouchState::TAP_DOWN_LONG: | ||||
| 		case TouchState::TAP_DOWN_LONG_AWAIT: | ||||
| 		{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user