UI visible and render is offsetted but update is ok

This commit is contained in:
minjaesong
2020-09-09 15:38:21 +09:00
parent 7a58cf9edb
commit 560a38569e
2 changed files with 3 additions and 2 deletions

View File

@@ -261,6 +261,7 @@ class UIInventoryFull(
// UI items
categoryBar.render(batch, camera)
transitionPanel.render(batch, camera)
// render map while visible
/*if (currentScreenTransition > 1f + epsilon) {

View File

@@ -300,13 +300,13 @@ internal object WeatherMixer : RNGConsumer {
var mixFrom: String?
try { mixFrom = JSON.get("mixFrom").asJsonPrimitive.asString }
catch (e: NullPointerException) { mixFrom = null }
catch (e: IllegalStateException) { mixFrom = null }
var mixPercentage: Double?
try { mixPercentage = JSON.get("mixPercentage").asJsonPrimitive.asDouble }
catch (e: NullPointerException) { mixPercentage = null }
catch (e: IllegalStateException) { mixPercentage = null }