Procházet zdrojové kódy

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe před 8 roky
rodič
revize
da03416ef0
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      canvas2D/src/Engine/babylon.canvas2d.ts

+ 2 - 2
canvas2D/src/Engine/babylon.canvas2d.ts

@@ -1574,10 +1574,10 @@
                 this._renderObservable.notifyObservers(this, Canvas2D.RENDEROBSERVABLE_PRE);
                 this._renderObservable.notifyObservers(this, Canvas2D.RENDEROBSERVABLE_PRE);
             }
             }
 
 
-            this._updateCanvasState(false);
-
             this._updateTrackedNodes();
             this._updateTrackedNodes();
 
 
+            this._updateCanvasState(false);
+
             // Nothing to do is the Canvas is not visible
             // Nothing to do is the Canvas is not visible
             if (this.isVisible === false) {
             if (this.isVisible === false) {
                 return;
                 return;