mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Added selection of long touch duration
This commit is contained in:
@ -12,7 +12,6 @@
|
||||
|
||||
#include "../../battle/BattleInterface.h"
|
||||
#include "../../gui/CGuiHandler.h"
|
||||
#include "../../eventsSDL/InputHandler.h"
|
||||
#include "../../../lib/CConfigHandler.h"
|
||||
#include "../../../lib/filesystem/ResourceID.h"
|
||||
#include "../../../lib/CGeneralTextHandler.h"
|
||||
@ -24,8 +23,6 @@ BattleOptionsTab::BattleOptionsTab(BattleInterface * owner)
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||
type |= REDRAW_PARENT;
|
||||
|
||||
//addConditional("touchscreen", GH.input().hasTouchInputDevice());
|
||||
|
||||
const JsonNode config(ResourceID("config/widgets/settings/battleOptionsTab.json"));
|
||||
addCallback("viewGridChanged", [this, owner](bool value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user