mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-12 08:49:22 +07:00
3.8.4
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user