clear mouse before entering chart screen
This commit is contained in:
parent
359c8e5e5c
commit
d0028d5cf3
@ -7699,8 +7699,6 @@ static GLfloat sBaseMass = 0.0;
|
||||
}
|
||||
/* ends */
|
||||
|
||||
//[[UNIVERSE gameView] clearMouse];
|
||||
|
||||
[self setShowDemoShips:NO];
|
||||
[UNIVERSE enterGUIViewModeWithMouseInteraction:YES];
|
||||
|
||||
|
@ -3317,6 +3317,7 @@ static NSTimeInterval time_last_frame;
|
||||
if (([gameView isDown:gvFunctionKey6])||(fKeyAlias && [gameView isDown:key_gui_chart_screens]))
|
||||
{
|
||||
mouse_left_down = NO;
|
||||
[gameView clearMouse];
|
||||
if (!switching_chart_screens)
|
||||
{
|
||||
switching_chart_screens = YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user