Sfoglia il codice sorgente

whats new and linting

Trevor Baron 6 anni fa
parent
commit
27b3a76b0b
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      dist/preview release/what's new.md
  2. 2 2
      src/Gizmos/gizmo.ts

+ 1 - 1
dist/preview release/what's new.md

@@ -24,7 +24,7 @@
 - Added startAndReleaseDragOnPointerEvents property to pointerDragBehavior which can be set to false for custom drag triggering ([TrevorDev](https://github.com/TrevorDev))
 - Effect renderer to render one or multiple shader effects to a texture ([TrevorDev](https://github.com/TrevorDev))
 - Added url parameters to web request modifiers ([PierreLeBlond](https://github.com/PierreLeBlond))
-- WebXR updated to spec as of June 27th ([TrevorDev](https://github.com/TrevorDev))
+- WebXR updated to spec as of July 9th ([TrevorDev](https://github.com/TrevorDev))
 - WebXR webVR parity helpers ([TrevorDev](https://github.com/TrevorDev))
 
 ### Engine

+ 2 - 2
src/Gizmos/gizmo.ts

@@ -123,8 +123,8 @@ export class Gizmo implements IDisposable {
                 if (effectiveMesh._getWorldMatrixDeterminant() < 0) {
                     this._rootMesh.scaling.y *= -1;
                 }
-            }else{
-                this._rootMesh.scaling.setAll(this.scaleRatio)
+            }else {
+                this._rootMesh.scaling.setAll(this.scaleRatio);
             }
         }
     }