mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
new param 'frameDelta' on every render() function
This commit is contained in:
@@ -525,7 +525,7 @@ class UIItemTextLineInput(
|
||||
|
||||
private var textDrawOffset = 0
|
||||
|
||||
override fun render(batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
override fun render(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
|
||||
val posXDelta = posX - oldPosX
|
||||
|
||||
@@ -683,7 +683,7 @@ class UIItemTextLineInput(
|
||||
}
|
||||
|
||||
batch.color = Color.WHITE
|
||||
super.render(batch, camera)
|
||||
super.render(frameDelta, batch, camera)
|
||||
|
||||
|
||||
oldPosX = posX
|
||||
|
||||
Reference in New Issue
Block a user