mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2026-04-23 00:07:15 +08:00
internal/ui: rename ResetForFrame -> ResetForTick
Resetting happens every tick, not every frame.
This commit is contained in:
@@ -94,6 +94,6 @@ func (i *Input) update(keys map[Key]struct{}, runes []rune, touches []Touch) {
|
||||
i.touches = append(i.touches, touches...)
|
||||
}
|
||||
|
||||
func (i *Input) resetForFrame() {
|
||||
func (i *Input) resetForTick() {
|
||||
i.runes = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user