mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +01:00
examples/windowclosing: update the message
This commit is contained in:
parent
e4d6381452
commit
b53f93c614
@ -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]")
|
||||
|
Loading…
Reference in New Issue
Block a user