Kaynağa Gözat

Add BlogFeed

Nikatlas 5 yıl önce
ebeveyn
işleme
b6b6aff198
3 değiştirilmiş dosya ile 8 ekleme ve 3 silme
  1. 5 0
      Systems/Gui.js
  2. 1 1
      yalc.lock
  3. 2 2
      yarn.lock

+ 5 - 0
Systems/Gui.js

@@ -31,6 +31,10 @@ export default class Gui extends BaseSystem {
 
 
     this.CoreSystem = new CoreSystem();
+    this.CoreSystem.onUpdate(() => {
+      this.forceUpdate();
+    })
+
 		this.Keyboard = new Keyboard();
 
     this.ToolBox = new ToolBox(this.CoreSystem);
@@ -45,6 +49,7 @@ export default class Gui extends BaseSystem {
       this.SideBar.tool = this.ToolBox.activeTool;
       this.forceUpdate();
     });
+
     this.MainBar.onUpdate(() => this.forceUpdate())
     this.MainBar.onSave( () => {
       this.saveEnv();

+ 1 - 1
yalc.lock

@@ -2,7 +2,7 @@
   "version": "v1",
   "packages": {
     "trapilib": {
-      "signature": "ce5781e3dfceef921c3d45289ee7cf26",
+      "signature": "a08ceb89fe1df008a2c42c56e9d0ce06",
       "file": true,
       "replaced": "http://git.onarbooks.com/Klapi/TrapiLib.git"
     }

+ 2 - 2
yarn.lock

@@ -5717,7 +5717,7 @@ [email protected]:
   integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
 
 "trapilib@file:.yalc/trapilib":
-  version "1.1.1-ce5781e3"
+  version "1.1.1-a08ceb89"
   dependencies:
     expo "^34.0.0-experiment.8"
     prop-types "^15.7.2"
@@ -5729,7 +5729,7 @@ [email protected]:
 
 "trapilib@http://git.onarbooks.com/Klapi/TrapiLib.git":
   version "1.1.1"
-  resolved "http://git.onarbooks.com/Klapi/TrapiLib.git#2483ec815cc353814029997cf029820293bbd0c9"
+  resolved "http://git.onarbooks.com/Klapi/TrapiLib.git#65deaa6168945176009c1de707360b086467dda2"
   dependencies:
     expo "^34.0.0-experiment.8"
     prop-types "^15.7.2"