bootstrapper for the App so that the user can change the max heap in-game

This commit is contained in:
minjaesong
2023-06-22 21:08:09 +09:00
parent 5d77694316
commit 5c39df9080
20 changed files with 646 additions and 26 deletions

View File

@@ -109,7 +109,8 @@ class UIGraphicsControlPanel(remoCon: UIRemoCon?) : UICanvas() {
UIItemSpinner(this, x, y, App.getConfigDouble(optionName), arg[1].toDouble(), arg[2].toDouble(), arg[3].toDouble(), spinnerWidth, numberToTextFunction = { "${((it as Double)*100).toInt()}%" }) to { it: UIItem, optionStr: String ->
(it as UIItemSpinner).selectionChangeListener = {
App.setConfig(optionStr, it)
} }
}
}
}
else if (args.startsWith("typeinint")) {
// val arg = args.split(',') // args: none