UIs wont FOR SURE update (more like, process events) anymore when they are not visible

This commit is contained in:
minjaesong
2017-07-25 18:34:23 +09:00
parent 33da9777ea
commit 86d3a4a08d
4 changed files with 98 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ class UITitleRemoConCredits(val superMenu: UICanvas) : UICanvas() {
highlightBackCol = Color(0),
backgroundCol = Color(0),
inactiveCol = Color.WHITE,
defaultSelection = 0
defaultSelection = null
)
init {
@@ -39,9 +39,8 @@ class UITitleRemoConCredits(val superMenu: UICanvas) : UICanvas() {
// attach listeners
menubar.buttons[menuLabels.indexOf("MENU_LABEL_RETURN")].clickOnceListener = { _, _, _ ->
println("UITitleRemoConCredits srtaenirstneiotrsaeinoarst")
superMenu.setAsOpen()
this.setAsClose()
superMenu.setAsOpen()
}
}