diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-06 16:08:29 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-06 16:08:29 +0800 |
commit | 98b1551b871117e5517c566728b15b84845b8cbe (patch) | |
tree | 7d3abbdc1b81f9c621df90e2502293a292c76d18 /features | |
parent | 913dd7e3ada823233abc104212d97b5d447a4b96 (diff) | |
download | SoopyV2-98b1551b871117e5517c566728b15b84845b8cbe.tar.gz SoopyV2-98b1551b871117e5517c566728b15b84845b8cbe.tar.bz2 SoopyV2-98b1551b871117e5517c566728b15b84845b8cbe.zip |
+ fix spirit leap overlay buttons not working (oops)
+ hopefully fix boxes not correct color sometimes
Diffstat (limited to 'features')
-rw-r--r-- | features/dungeonMap/index.js | 6 | ||||
-rw-r--r-- | features/friendsGUI/index.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index 7a64980..9af147b 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -985,9 +985,6 @@ class SpiritLeapOverlay { this.soopyGui = new SoopyGui() - this.buttonsContainer = new SoopyGuiElement().setLocation(0.2, 0.2, 0.6, 0.3) - this.soopyGui.element.addChild(this.buttonsContainer) - let renderThing = new soopyGuiMapRendererThing(this).setLocation(0, 0, 1, 1) this.soopyGui.element.addChild(renderThing) @@ -997,6 +994,9 @@ class SpiritLeapOverlay { } })) + this.buttonsContainer = new SoopyGuiElement().setLocation(0.2, 0.2, 0.6, 0.3) + this.soopyGui.element.addChild(this.buttonsContainer) + this.items = {} this.players = {} diff --git a/features/friendsGUI/index.js b/features/friendsGUI/index.js index 718f514..8422081 100644 --- a/features/friendsGUI/index.js +++ b/features/friendsGUI/index.js @@ -132,7 +132,7 @@ class SettingPage extends GuiPage { elements.push(new SoopyTextElement().setText("ยง0" + commands[i]).setLocation(0.2, 0.4 + i * 0.05, 0.6, 0.05)) this.runCommand(commands[i], () => { - progressBar.setProgress(i2 / (commands.length - 1), 1000) + progressBar.setProgress((i2 + 1) / (commands.length), 1000) let e = elements.shift() this.sidebarCustomPage.removeChild(e) |