mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix cursor blinking in integrated GPUs
Optimization for Input::set_custom_mouse_cursor when used inside _process function. (Avoids cursor blinking in low end devices)
This commit is contained in:
parent
5e495750a3
commit
a9a0d0fb15
8 changed files with 75 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue