internal/ui: rename ResetForFrame -> ResetForTick

Resetting happens every tick, not every frame.
This commit is contained in:
Hajime Hoshi
2022-02-13 19:54:38 +09:00
parent a2cb9fda82
commit 9b2f0b6c56
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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
}