mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix first native cursor hiding on Skia backend
This commit is contained in:
parent
ee7df1f973
commit
9e90061e37
@ -32,7 +32,14 @@ static Cursor* mouse_cursor = NULL;
|
||||
static she::Display* mouse_display = NULL;
|
||||
static Overlay* mouse_cursor_overlay = NULL;
|
||||
static bool use_native_mouse_cursor = false;
|
||||
static bool native_cursor_set = false; // If we displayed a native cursor
|
||||
#ifdef USE_ALLEG4_BACKEND
|
||||
// The native cursor is hidden by default in the Allegro backend
|
||||
static bool native_cursor_set = false; // TODO remove this when we remove the Allegro backend
|
||||
#else
|
||||
// The native cursor should be visible by default in
|
||||
// other "she" library backends.
|
||||
static bool native_cursor_set = true;
|
||||
#endif
|
||||
|
||||
// Mouse information (button and position).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user