clear mouse before entering chart screen

This commit is contained in:
Kevin Anthoney 2014-08-10 19:54:00 +01:00
parent 359c8e5e5c
commit d0028d5cf3
2 changed files with 1 additions and 2 deletions

View File

@ -7699,8 +7699,6 @@ static GLfloat sBaseMass = 0.0;
}
/* ends */
//[[UNIVERSE gameView] clearMouse];
[self setShowDemoShips:NO];
[UNIVERSE enterGUIViewModeWithMouseInteraction:YES];

View File

@ -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;