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

Commit

Permalink
Merge pull request #2 from zgavin/patch-2
Browse files Browse the repository at this point in the history
Fix close buttons on production panel and city overview
  • Loading branch information
chaorace authored Oct 29, 2016
2 parents 87fa7ae + c05d6f6 commit abbf615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions UI/Panels/CityPanelOverview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ function OnClose()
end

function OnCloseButtonClicked()
UI.SetInterfaceMode(InterfaceModeTypes.SELECTION);
end

function View(data)
Expand Down
1 change: 1 addition & 0 deletions UI/Panels/ProductionPanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ end
-- ===========================================================================
-- Close via click
function OnClose()
UI.SetInterfaceMode(InterfaceModeTypes.SELECTION);
end

-- ===========================================================================
Expand Down

0 comments on commit abbf615

Please sign in to comment.