Map no longer makes map options left-right scrollable (hopefully)

This commit is contained in:
yairm210 2025-02-06 23:22:18 +02:00
parent 59bde1d099
commit 552f9526c5

View File

@ -58,7 +58,7 @@ class MapParametersTable(
private lateinit var mapSizesOptionsValues: HashSet<String>
private lateinit var mapResourcesOptionsValues: HashSet<String>
private val maxMapSize = (previousScreen as? NewGameScreen)?.getColumnWidth() ?: 200f
private val maxMapSize = ((previousScreen as? NewGameScreen)?.getColumnWidth() ?: 200f) - 10f // There is 5px padding each side
private val mapTypeExample = Table()
// Keep references (in the key) and settings value getters (in the value) of the 'advanced' sliders