mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-29 04:02:45 +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) {
|
func (g *Game) Draw(screen *ebiten.Image) {
|
||||||
if !g.windowClosingHandled {
|
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
|
return
|
||||||
}
|
}
|
||||||
ebitenutil.DebugPrint(screen, "Do you really want to close this window? [y/n]")
|
ebitenutil.DebugPrint(screen, "Do you really want to close this window? [y/n]")
|
||||||
|
Loading…
Reference in New Issue
Block a user