mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
game save ui completely locked while saving in progress
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user