From 93002a784b506e758f4e724d51d36ff1a34dd569 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Mon, 25 May 2020 22:26:08 +0200 Subject: [PATCH] Added hints on keyboard shortcuts. --- gamecontrols.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamecontrols.go b/gamecontrols.go index c39febc..65dc32e 100644 --- a/gamecontrols.go +++ b/gamecontrols.go @@ -107,16 +107,16 @@ func (c *GameControls) Init(ctx ui.Context) { b.DisabledColor = zntg.MustHexColor("#AFAFAF") }), NewIconButtonConfigure("control-save", c.askUserBeforeSave, func(b *IconButton) { - b.Tooltip = "Save game" + b.Tooltip = "Save game (key: Ctrl+S)" }), NewIconButtonConfigure("control-load", c.askUserBeforeLoad, func(b *IconButton) { - b.Tooltip = "Load last saved game" + b.Tooltip = "Load last saved game (key: Ctrl+L)" }), NewIconButtonConfigure("control-new", c.askUserBeforeNew, func(b *IconButton) { - b.Tooltip = "Start new game" + b.Tooltip = "Start new game (key: Ctrl+N)" }), NewIconButtonConfigure("control-information", c.dialogs.ShowIntro, func(b *IconButton) { - b.Tooltip = "Show information/intro" + b.Tooltip = "Show information/intro (key: Escape)" }), } for i, child := range c.menu.Children {