1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

(untested) activate lobby UI on 3-finger touch

This commit is contained in:
Ivan Savenko 2024-03-26 13:15:45 +02:00
parent d700e94189
commit 73d8789f8d

View File

@ -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:
{