diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-15 17:17:57 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-15 17:17:57 +0800 |
commit | b0a76fb4e93be9356d947e1b29a08804de76b870 (patch) | |
tree | aa59502e4dc9616b589e903e936c28f5d98aecbf /features/settings | |
parent | eadcb388106517adc994152cd4c35ed47c93a4f2 (diff) | |
download | SoopyV2-b0a76fb4e93be9356d947e1b29a08804de76b870.tar.gz SoopyV2-b0a76fb4e93be9356d947e1b29a08804de76b870.tar.bz2 SoopyV2-b0a76fb4e93be9356d947e1b29a08804de76b870.zip |
- Fix for lag in build battle
- dragon wings rbg support
- anti hub spam
- cosmetics live updating
- connection to socket
Diffstat (limited to 'features/settings')
-rw-r--r-- | features/settings/settingThings/settingBase.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/features/settings/settingThings/settingBase.js b/features/settings/settingThings/settingBase.js index fbee5bf..a0d3bc7 100644 --- a/features/settings/settingThings/settingBase.js +++ b/features/settings/settingThings/settingBase.js @@ -1,6 +1,7 @@ import SoopyContentChangeEvent from "../../../../guimanager/EventListener/SoopyContentChangeEvent"; import BoxWithTextAndDescription from "../../../../guimanager/GuiElement/BoxWithTextAndDescription" import SoopyGuiElement from "../../../../guimanager/GuiElement/SoopyGuiElement"; +import renderLibs from "../../../../guimanager/renderLibs"; import settingsCommunicator from "../settingsCommunicator"; class SettingBase { @@ -14,8 +15,8 @@ class SettingBase { this.val = defaultVal; - this.guiObject = new BoxWithTextAndDescription().setDesc("§0"+this.description).setText("§0"+this.name).setLocation(0, 0, 1, 0.175) - + this.guiObject = new BoxWithTextAndDescription().setDesc("§0"+this.description.replace(/\n/g, "\n§0")).setText("§0"+this.name).setLocation(0, 0, 1, 0.175) + this.settingObject = new SoopyGuiElement().setLocation(0.8, 0, 0.2, 1) this.guiObject.addChild(this.settingObject) |