summaryrefslogtreecommitdiff
path: root/platform/web/display_server_web.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-14 09:05:58 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-14 09:05:58 +0200
commita322f3f5782252d6bec8f169cd6a93cbc7b47921 (patch)
tree9eef499f1c0bcb23004f0831833592b5604f83be /platform/web/display_server_web.h
parent381590311958ab00251639af6d7efc6934dd3c72 (diff)
[InputEventKey] Avoid setting both key and modifier to the same value.
Diffstat (limited to 'platform/web/display_server_web.h')
-rw-r--r--platform/web/display_server_web.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/web/display_server_web.h b/platform/web/display_server_web.h
index 6d76af4e56..2e50a6bbc8 100644
--- a/platform/web/display_server_web.h
+++ b/platform/web/display_server_web.h
@@ -81,7 +81,7 @@ private:
bool swap_cancel_ok = false;
// utilities
- static void dom2godot_mod(Ref<InputEventWithModifiers> ev, int p_mod);
+ static void dom2godot_mod(Ref<InputEventWithModifiers> ev, int p_mod, Key p_keycode);
static const char *godot2dom_cursor(DisplayServer::CursorShape p_shape);
// events