Fix that when WindowState's width and height = 0 the app window will disappear (#4044)

This commit is contained in:
lishaoxia1985
2021-06-03 09:31:49 -05:00
committed by GitHub
parent e77eaf5fa5
commit a254ec0219

View File

@ -4,7 +4,7 @@ import com.badlogic.gdx.Application
import com.badlogic.gdx.Gdx
import com.unciv.logic.GameSaver
data class WindowState (val width:Int=0, val height:Int=0)
data class WindowState (val width: Int = 900, val height: Int = 600)
class GameSettings {
var showWorkedTiles: Boolean = false