aboutsummaryrefslogtreecommitdiff
path: root/features/soopyGui/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/soopyGui/index.js')
-rw-r--r--features/soopyGui/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js
index 2a70b8f..aa4f691 100644
--- a/features/soopyGui/index.js
+++ b/features/soopyGui/index.js
@@ -61,13 +61,14 @@ class SoopyGui extends Feature {
this.backButton.addEvent(backButtonEvent)
this.mainWindowElement.addChild(this.categoryPage)
- this.mainWindowElement.addChild(this.backButton)
this.sidebarPage = new SoopyBoxElement().setLocation(0.3, 0.2, 0.3, 0.6)
// this.sidebarPage.visable = false
this.gui.element.addChild(this.sidebarPage)
this.gui.element.addChild(this.mainWindowElement)
+
+ this.mainWindowElement.addChild(this.backButton)
this.updateButtons()
}