summaryrefslogtreecommitdiff
path: root/platform/javascript/display_server_javascript.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-07-02 08:05:52 +0200
committerGitHub <noreply@github.com>2022-07-02 08:05:52 +0200
commit04bdd7eb9354c10abaa47e095dd45e89dc02cd0e (patch)
tree53bfa99d7e0dab6c70d2307dcd22430a3c6a18ba /platform/javascript/display_server_javascript.cpp
parenta2459c7d35eeaeea8b1d4fa9ce6c9cbe74f11643 (diff)
parent7e43fb6ad28dbd3d1c79acc02f43112bf56534b3 (diff)
Merge pull request #62607 from RPicster/master-default-cursor-fix
Default cursor fix for html5 export
Diffstat (limited to 'platform/javascript/display_server_javascript.cpp')
-rw-r--r--platform/javascript/display_server_javascript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/display_server_javascript.cpp b/platform/javascript/display_server_javascript.cpp
index a96c539a1f..4edd6c793a 100644
--- a/platform/javascript/display_server_javascript.cpp
+++ b/platform/javascript/display_server_javascript.cpp
@@ -236,7 +236,7 @@ void DisplayServerJavaScript::mouse_move_callback(double p_x, double p_y, double
const char *DisplayServerJavaScript::godot2dom_cursor(DisplayServer::CursorShape p_shape) {
switch (p_shape) {
case DisplayServer::CURSOR_ARROW:
- return "auto";
+ return "default";
case DisplayServer::CURSOR_IBEAM:
return "text";
case DisplayServer::CURSOR_POINTING_HAND:
@@ -270,7 +270,7 @@ const char *DisplayServerJavaScript::godot2dom_cursor(DisplayServer::CursorShape
case DisplayServer::CURSOR_HELP:
return "help";
default:
- return "auto";
+ return "default";
}
}