mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
internal/uidriver/js: Bug fix: Compile error
This commit is contained in:
parent
10e5e9e633
commit
e844c257f7
@ -113,7 +113,7 @@ func (i *Input) GamepadIDs() []driver.GamepadID {
|
||||
return nil
|
||||
}
|
||||
|
||||
r := make([]driver.GamepadID, 0, i.gamepads)
|
||||
r := make([]driver.GamepadID, 0, len(i.gamepads))
|
||||
for id := range i.gamepads {
|
||||
r = append(r, id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user