mirror of https://github.com/cy384/ssheven.git
fix selection bug while resizing window
This commit is contained in:
parent
84cfe74923
commit
f272512a7e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue