internal/hooks: Rename Update -> BeforeUpdate

This commit is contained in:
Hajime Hoshi
2018-03-15 02:50:10 +09:00
parent e085f511ec
commit 1b0e71765f
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ var theInputState = &inputState{
}
func init() {
hooks.AppendHookOnUpdate(func() error {
hooks.AppendHookOnBeforeUpdate(func() error {
theInputState.update()
return nil
})