mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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()
|
return n.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func UpdateInputFromEvent(e js.Value) {
|
||||||
|
theUI.updateInputFromEvent(e)
|
||||||
|
}
|
||||||
|
|
||||||
func (u *userInterfaceImpl) saveCursorPosition() {
|
func (u *userInterfaceImpl) saveCursorPosition() {
|
||||||
u.savedCursorX = u.inputState.CursorX
|
u.savedCursorX = u.inputState.CursorX
|
||||||
u.savedCursorY = u.inputState.CursorY
|
u.savedCursorY = u.inputState.CursorY
|
||||||
|
Loading…
Reference in New Issue
Block a user