From 431e4fc9d1657a50ebc34b8ac24f9bfaea06417f Mon Sep 17 00:00:00 2001
From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com>
Date: Sat, 17 Sep 2022 19:39:05 +0800
Subject: Initial move to babel + change fetch to use async/await
---
src/features/fpsImproveGui/index.js | 49 ++++++++++++++++++++++++++++++++
src/features/fpsImproveGui/metadata.json | 8 ++++++
2 files changed, 57 insertions(+)
create mode 100644 src/features/fpsImproveGui/index.js
create mode 100644 src/features/fpsImproveGui/metadata.json
(limited to 'src/features/fpsImproveGui')
diff --git a/src/features/fpsImproveGui/index.js b/src/features/fpsImproveGui/index.js
new file mode 100644
index 0000000..416d754
--- /dev/null
+++ b/src/features/fpsImproveGui/index.js
@@ -0,0 +1,49 @@
+///
+///
+import Feature from "../../featureClass/class";
+import GuiPage from "../soopyGui/GuiPage";
+
+class FpsImproveGui extends Feature {
+ constructor() {
+ super()
+ }
+
+ onEnable() {
+ this.initVariables()
+
+ // this.GuiPage = new FpsPage()
+
+ }
+
+ initVariables() {
+ this.GuiPage = undefined
+ }
+
+ onDisable() {
+ this.initVariables()
+ }
+}
+
+
+class FpsPage extends GuiPage {
+ constructor() {
+ super(7)
+
+ this.name = "Fps Improve Tips"
+
+ this.pages = [this.newPage()]
+
+ // this.pages[0].addChild(this.streamsBox)
+
+ this.finaliseLoading()
+ }
+
+ onOpen() {
+ this.updateStreams()
+ }
+}
+
+
+module.exports = {
+ class: new FpsImproveGui()
+}
\ No newline at end of file
diff --git a/src/features/fpsImproveGui/metadata.json b/src/features/fpsImproveGui/metadata.json
new file mode 100644
index 0000000..a292c1d
--- /dev/null
+++ b/src/features/fpsImproveGui/metadata.json
@@ -0,0 +1,8 @@
+{
+ "name": "Fps improvement tips",
+ "description": "May help",
+ "isHidden": true,
+ "isTogglable": false,
+ "defaultEnabled": true,
+ "sortA": 0
+}
\ No newline at end of file
--
cgit