mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
fix: ui show() and hide() was only called when it feels like
This commit is contained in:
@@ -229,6 +229,7 @@ void main() {
|
||||
}
|
||||
|
||||
if (isOpening) {
|
||||
if (openFired) ui.show()
|
||||
openFired = false
|
||||
|
||||
isVisible = true
|
||||
@@ -270,6 +271,7 @@ void main() {
|
||||
isOpened = false
|
||||
isVisible = false
|
||||
openCloseCounter = 0f
|
||||
ui.hide()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user