mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fix the mouse cursor shown when entering to submenus
This commit is contained in:
parent
fdbb3aec59
commit
079f7b6537
@ -248,10 +248,11 @@ UISystem::~UISystem()
|
||||
|
||||
void _internal_set_mouse_display(Display* display)
|
||||
{
|
||||
CursorType cursor = get_mouse_cursor();
|
||||
mouse_display = display;
|
||||
if (display)
|
||||
set_mouse_cursor(cursor); // Restore mouse cursor
|
||||
if (display != mouse_display) {
|
||||
mouse_display = display;
|
||||
if (mouse_display)
|
||||
update_mouse_cursor();
|
||||
}
|
||||
}
|
||||
|
||||
void set_multiple_displays(bool multi)
|
||||
|
Loading…
Reference in New Issue
Block a user