Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Fix escape key not working properly in city view #1

Merged
merged 2 commits into from
Oct 29, 2016
Merged

Fix escape key not working properly in city view #1

merged 2 commits into from
Oct 29, 2016

Conversation

zgavin
Copy link

@zgavin zgavin commented Oct 29, 2016

Escape key should now close the city view and return to unit selection

Escape key should now close the city view and return to unit selection
Copy link
Member

@chaorace chaorace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This implementation isn't quite correct. When pressing the Esc key like this the city overview panel will remain open when everything else closes. The best way to address this would be removing the logic on lines 788 and 789, the interfacemode change is all you need to signal everything to close.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants