mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
internal/uidriver/js: Remove unnecessary event handlers
This commit is contained in:
parent
0ec5b7b857
commit
fee004c28d
@ -446,11 +446,6 @@ func setWindowEventHandlers(v js.Value) {
|
||||
}
|
||||
return nil
|
||||
}))
|
||||
|
||||
v.Call("addEventListener", "gamepadconnected", js.FuncOf(func(this js.Value, args []js.Value) interface{} {
|
||||
// Do nothing.
|
||||
return nil
|
||||
}))
|
||||
}
|
||||
|
||||
func setCanvasEventHandlers(v js.Value) {
|
||||
|
Loading…
Reference in New Issue
Block a user