mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
(untested) activate lobby UI on 3-finger touch
This commit is contained in:
parent
d700e94189
commit
73d8789f8d
@ -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:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user