mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
UIs wont FOR SURE update (more like, process events) anymore when they are not visible
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user