internal/ui: fix a wrong comment

This commit is contained in:
Hajime Hoshi 2024-07-07 01:05:40 +09:00
parent 844a4de872
commit 1679555bbb

View File

@ -369,7 +369,7 @@ func (u *UserInterface) needsUpdate() bool {
} }
func (u *UserInterface) loopGame() error { func (u *UserInterface) loopGame() error {
// Initialize the screen size first (#3033). // Initialize the screen size first (#3034).
// If ebiten.SetRunnableOnUnfocused(false) and the canvas is not focused, // If ebiten.SetRunnableOnUnfocused(false) and the canvas is not focused,
// suspended() returns true and the update routine cannot start. // suspended() returns true and the update routine cannot start.
u.updateScreenSize() u.updateScreenSize()