Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Give the +/- button the right caption on re-create
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed Aug 21, 2015
1 parent bb286ba commit c57d076
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evoGUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ function evogui.create_sensor_display(player)
name="evoGUI_toggle_popup",
caption="+",
style="evoGUI_small_button_style"}
if global.evogui[player.name].popup_open then
action_buttons.evoGUI_toggle_popup.caption = "-"
end
action_buttons.add{type="button",
name="evoGUI_settings",
caption="s",
Expand Down

0 comments on commit c57d076

Please sign in to comment.