Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-11-16 04:28:08 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-11-16 04:28:08 +0300
commitf2c9b7bc92730c30c8378cbeb884905fe72f064e (patch)
tree7cd3e77cda29efb8e3b492e65c659bbe02e28cde
parent18b8a607e0d2fe5045d9821e09a2fc219ad88c29 (diff)
fixed typo, renamed CreteToolButton to CreateToolButton
-rwxr-xr-xui/IdleStatusPanel.go12
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: