game save ui completely locked while saving in progress

This commit is contained in:
minjaesong
2021-09-15 11:34:13 +09:00
parent 22190be6d8
commit ae29f7ebea
7 changed files with 33 additions and 14 deletions

View File

@@ -47,7 +47,7 @@ class UIItemTextArea(
}
override fun scrolled(amountX: Float, amountY: Float): Boolean {
scrollPos += Math.round(amountX * 3)
scrollPos += Math.round(amountY * 5)
if (scrollPos > entireText.size - lineCount) scrollPos = entireText.size - lineCount
if (scrollPos < 0) scrollPos = 0