Skip to content

Commit

Permalink
Generate noteGuiWillChange notification also when going to short and …
Browse files Browse the repository at this point in the history
…long range chart screens. Closes #233.
  • Loading branch information
AnotherCommander committed Jun 25, 2017
1 parent 88cbd02 commit 71cf3d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Core/Entities/PlayerEntityControls.m
Original file line number Diff line number Diff line change
Expand Up @@ -3933,6 +3933,7 @@ - (void) pollGuiScreenControlsWithFKeyAlias:(BOOL)fKeyAlias
saved_chart_zoom = target_chart_zoom;
}
target_chart_zoom = CHART_MAX_ZOOM;
[self noteGUIWillChangeTo:GUI_SCREEN_LONG_RANGE_CHART];
[self setGuiToLongRangeChartScreen];
}
else
Expand All @@ -3942,7 +3943,7 @@ - (void) pollGuiScreenControlsWithFKeyAlias:(BOOL)fKeyAlias
target_chart_zoom = saved_chart_zoom;
}
//target_chart_centre = cursor_coordinates = [[UNIVERSE systemManager] getCoordinatesForSystem:target_system_id inGalaxy:galaxy_number];

[self noteGUIWillChangeTo:GUI_SCREEN_SHORT_RANGE_CHART];
[self setGuiToShortRangeChartScreen];
}
}
Expand Down

0 comments on commit 71cf3d8

Please sign in to comment.