mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
gdx 1.10/lwjgl3 migration; removing old Lua stuffs
This commit is contained in:
@@ -386,10 +386,10 @@ void main() {
|
||||
return false
|
||||
}
|
||||
}
|
||||
fun scrolled(uiItems: List<UIItem>, amount: Int): Boolean {
|
||||
fun scrolled(uiItems: List<UIItem>, amountX: Float, amountY: Float): Boolean {
|
||||
if (isVisible) {
|
||||
uiItems.forEach { it.scrolled(amount) }
|
||||
subUIs.forEach { it.scrolled(amount) }
|
||||
uiItems.forEach { it.scrolled(amountX, amountY) }
|
||||
subUIs.forEach { it.scrolled(amountX, amountY) }
|
||||
return true
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user