summaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-10 13:33:11 +0200
committerGitHub <noreply@github.com>2019-07-10 13:33:11 +0200
commit3e40827050d68679da44388ad87d97ae5665ab30 (patch)
tree559722c321ae4a5663eb121b768e5ce67d93b4ef /platform/javascript/os_javascript.h
parent6b6911cf11c279fc5133ffcb578e63168248af0d (diff)
parenta9a0d0fb15cc5e028dbf8dab8b46d3dc197c4678 (diff)
Merge pull request #30465 from guilhermefelipecgs/cursor_blinking
Fix cursor blinking in integrated GPUs
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index 9635465c0d..10676c49f7 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -52,6 +52,7 @@ class OS_JavaScript : public OS_Unix {
Ref<InputEventKey> deferred_key_event;
CursorShape cursor_shape;
String cursors[CURSOR_MAX];
+ Map<CursorShape, Vector<Variant> > cursors_cache;
Point2 touches[32];
Point2i last_click_pos;