diff --git a/gamecontrols.go b/gamecontrols.go index 99f29c9..512ebe5 100644 --- a/gamecontrols.go +++ b/gamecontrols.go @@ -87,7 +87,10 @@ func (c *GameControls) Init(ctx *Context) error { c.game.SpeedChanged().RegisterItf(c.speedChanged) c.game.ToolChanged().RegisterItf(c.toolChanged) c.dialogs.DialogOpened().Register(func() { c.game.Pause() }) - c.dialogs.DialogClosed().Register(func() { c.game.Resume() }) + c.dialogs.DialogClosed().Register(func() { + c.updateFlowerControls(ctx) + c.game.Resume() + }) c.flowers.Background = MustHexColor("#356dad") c.flowers.ButtonLength = 64