mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-10 05:01:50 +09:00
trying to make cursor not blink while typing which doesn't work on edit.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user