This commit is contained in:
Yair Morgenstern
2020-04-29 19:39:38 +03:00
parent 392fb4135a
commit ba2e6d26e5
23 changed files with 730 additions and 1029 deletions

View File

@ -40,7 +40,8 @@ open class Popup(val screen: CameraStageBaseScreen): Table(CameraStageBaseScreen
open fun close() {
remove()
if (screen.popups.isNotEmpty()) screen.popups[0].isVisible = true
val nextPopup = screen.stage.actors.firstOrNull { it is Popup }
if (nextPopup != null) nextPopup.isVisible = true
}
fun addGoodSizedLabel(text: String, size:Int=18): Cell<Label> {