mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
inpututil: Bug fix: Init prevTouchStates
This commit is contained in:
parent
d3f573523a
commit
e7f1623001
@ -49,7 +49,8 @@ var theInputState = &inputState{
|
|||||||
gamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
gamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
||||||
prevGamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
prevGamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
||||||
|
|
||||||
touchStates: map[int]int{},
|
touchStates: map[int]int{},
|
||||||
|
prevTouchStates: map[int]int{},
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user