mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
Revert "internal/ui: remove an unused function"
This reverts commit df3a1c3cdd
.
Reason: compile failure: UpdateInputFromEvent was used from textinput
This commit is contained in:
parent
df3a1c3cdd
commit
77bdbac244
@ -227,6 +227,10 @@ func (u *userInterfaceImpl) keyName(key Key) string {
|
||||
return n.String()
|
||||
}
|
||||
|
||||
func UpdateInputFromEvent(e js.Value) {
|
||||
theUI.updateInputFromEvent(e)
|
||||
}
|
||||
|
||||
func (u *userInterfaceImpl) saveCursorPosition() {
|
||||
u.savedCursorX = u.inputState.CursorX
|
||||
u.savedCursorY = u.inputState.CursorY
|
||||
|
Loading…
Reference in New Issue
Block a user