examples/windowclosing: update the message

This commit is contained in:
Hajime Hoshi 2022-04-11 01:10:48 +09:00
parent e4d6381452
commit b53f93c614

View File

@ -49,7 +49,7 @@ func (g *Game) Update() error {
func (g *Game) Draw(screen *ebiten.Image) {
if !g.windowClosingHandled {
ebitenutil.DebugPrint(screen, "Try to close this window.")
ebitenutil.DebugPrint(screen, "Try to close this window. This works only on desktops.")
return
}
ebitenutil.DebugPrint(screen, "Do you really want to close this window? [y/n]")