diff options
| author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-13 20:57:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-13 20:57:16 +0800 |
| commit | 017c6f892afe12b53d7f6f0b17f4055468315dcb (patch) | |
| tree | 494189875108bc1c0d0955761239087adf406306 /features/soopyGui | |
| parent | 35b89852096c48945e55e9d550a417a963a9ad74 (diff) | |
| parent | f1e5f8810c4faf5a36d7b542d92284a3319d33ce (diff) | |
| download | SoopyV2-017c6f892afe12b53d7f6f0b17f4055468315dcb.tar.gz SoopyV2-017c6f892afe12b53d7f6f0b17f4055468315dcb.tar.bz2 SoopyV2-017c6f892afe12b53d7f6f0b17f4055468315dcb.zip | |
Merge pull request #1 from Soopyboo32/Senither-lb
Senither lb
Diffstat (limited to 'features/soopyGui')
| -rw-r--r-- | features/soopyGui/GuiPage.js | 2 | ||||
| -rw-r--r-- | features/soopyGui/index.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/soopyGui/GuiPage.js b/features/soopyGui/GuiPage.js index 583eab9..1ae10fe 100644 --- a/features/soopyGui/GuiPage.js +++ b/features/soopyGui/GuiPage.js @@ -7,7 +7,7 @@ class GuiPage{ this.soopyGui = undefined; new Thread(()=>{ - while(global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){ + while(global.soopyv2featuremanagerthing === undefined || global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){ Thread.sleep(100) } diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js index 662221d..4917db6 100644 --- a/features/soopyGui/index.js +++ b/features/soopyGui/index.js @@ -1,7 +1,6 @@ /// <reference types="../../../CTAutocomplete" /> /// <reference lib="es2015" /> import Feature from "../../featureClass/class"; -import * as GuiManager from "../../../guimanager/index.js" import SoopyGuiElement from "../../../guimanager/GuiElement/SoopyGuiElement"; import SoopyTextElement from "../../../guimanager/GuiElement/SoopyTextElement"; import SoopyBoxElement from "../../../guimanager/GuiElement/SoopyBoxElement"; @@ -9,6 +8,7 @@ import TextWithArrow from "../../../guimanager/GuiElement/TextWithArrow"; import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow"; import SoopyMouseClickEvent from "../../../guimanager/EventListener/SoopyMouseClickEvent"; import SoopyOpenGuiEvent from "../../../guimanager/EventListener/SoopyOpenGuiEvent"; +import SoopyGui2 from "../../../guimanager/SoopyGui"; class SoopyGui extends Feature { @@ -30,7 +30,7 @@ class SoopyGui extends Feature { } onEnable(){ - this.gui = new GuiManager.SoopyGui() + this.gui = new SoopyGui2() // this.gui.isDebugEnabled = true |
