trying to make cursor not blink while typing which doesn't work on edit.js

This commit is contained in:
minjaesong
2022-05-04 11:15:32 +09:00
parent 7cffff1d71
commit b8956c22ff
2 changed files with 119 additions and 0 deletions

View File

@@ -1083,6 +1083,10 @@ open class GraphicsAdapter(private val assetsRoot: String, val vm: VM, val confi
textCursorIsOn = !textCursorIsOn
}
// force light cursor up while typing
textCursorIsOn = textCursorIsOn || ((1..254).any { Gdx.input.isKeyPressed(it) })
}
private fun blendNormal(batch: SpriteBatch) {