diff options
Diffstat (limited to 'platform/web/display_server_web.h')
-rw-r--r-- | platform/web/display_server_web.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/web/display_server_web.h b/platform/web/display_server_web.h index 2e50a6bbc8..66ef243489 100644 --- a/platform/web/display_server_web.h +++ b/platform/web/display_server_web.h @@ -37,6 +37,8 @@ #include <emscripten/html5.h> class DisplayServerWeb : public DisplayServer { + // No need to register with GDCLASS, it's platform-specific and nothing is added. + private: struct JSTouchEvent { uint32_t identifier[32] = { 0 }; @@ -79,6 +81,7 @@ private: MouseButton last_click_button_index = MouseButton::NONE; bool swap_cancel_ok = false; + bool tts = false; // utilities static void dom2godot_mod(Ref<InputEventWithModifiers> ev, int p_mod, Key p_keycode); |