fix selection bug while resizing window

This commit is contained in:
cy384 2021-01-22 20:37:18 -05:00
parent 84cfe74923
commit f272512a7e
1 changed files with 6 additions and 2 deletions

View File

@ -609,8 +609,12 @@ void event_loop(void)
}
break;
case mouseUp:
GetMouse(&local_mouse_position);
mouse_click(local_mouse_position, false);
// only tell the console to lift the mouse if we clicked through it
if (con.mouse_state)
{
GetMouse(&local_mouse_position);
mouse_click(local_mouse_position, false);
}
break;
}