aboutsummaryrefslogtreecommitdiff
path: root/features/friendsGUI
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-06 16:08:29 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-06 16:08:29 +0800
commit98b1551b871117e5517c566728b15b84845b8cbe (patch)
tree7d3abbdc1b81f9c621df90e2502293a292c76d18 /features/friendsGUI
parent913dd7e3ada823233abc104212d97b5d447a4b96 (diff)
downloadSoopyV2-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/friendsGUI')
-rw-r--r--features/friendsGUI/index.js2
1 files changed, 1 insertions, 1 deletions
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)