diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-11-16 04:28:08 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-11-16 04:28:08 +0300 |
commit | f2c9b7bc92730c30c8378cbeb884905fe72f064e (patch) | |
tree | 7cd3e77cda29efb8e3b492e65c659bbe02e28cde | |
parent | 18b8a607e0d2fe5045d9821e09a2fc219ad88c29 (diff) |
fixed typo, renamed CreteToolButton to CreateToolButton
-rwxr-xr-x | ui/IdleStatusPanel.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/IdleStatusPanel.go b/ui/IdleStatusPanel.go index 43b731c..dd5fb54 100755 --- a/ui/IdleStatusPanel.go +++ b/ui/IdleStatusPanel.go @@ -77,14 +77,14 @@ func (this *idleStatusPanel) showTools() { // and they can't be reused. toolheadCount := utils.GetToolheadCount(this.UI.Client) if toolheadCount == 1 { - this.tool0Button = uiWidgets.CreteToolButton(0, this.UI.Client) + this.tool0Button = uiWidgets.CreateToolButton(0, this.UI.Client) } else { - this.tool0Button = uiWidgets.CreteToolButton(1, this.UI.Client) + this.tool0Button = uiWidgets.CreateToolButton(1, this.UI.Client) } - this.tool1Button = uiWidgets.CreteToolButton( 2, this.UI.Client) - this.tool2Button = uiWidgets.CreteToolButton( 3, this.UI.Client) - this.tool3Button = uiWidgets.CreteToolButton( 4, this.UI.Client) - this.bedButton = uiWidgets.CreteToolButton(-1, this.UI.Client) + this.tool1Button = uiWidgets.CreateToolButton( 2, this.UI.Client) + this.tool2Button = uiWidgets.CreateToolButton( 3, this.UI.Client) + this.tool3Button = uiWidgets.CreateToolButton( 4, this.UI.Client) + this.bedButton = uiWidgets.CreateToolButton(-1, this.UI.Client) switch toolheadCount { case 1: |