mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ui: Bug fix: key event on Edge browser
This commit is contained in:
parent
dc4dc92dd0
commit
fb8bef99c3
@ -251,8 +251,9 @@ func initialize() error {
|
||||
keyCodeToKeyEdge[code] == KeyDown ||
|
||||
keyCodeToKeyEdge[code] == KeyLeft ||
|
||||
keyCodeToKeyEdge[code] == KeyRight {
|
||||
currentInput.keyDownEdge(code)
|
||||
e.Call("preventDefault")
|
||||
}
|
||||
currentInput.keyDownEdge(code)
|
||||
return
|
||||
}
|
||||
cs := c.String()
|
||||
|
Loading…
Reference in New Issue
Block a user