Browse Source

Fix naming

David Catuhe 7 năm trước cách đây
mục cha
commit
4740668b2b

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5884 - 5786
dist/preview release/babylon.d.ts


+ 2 - 2
gui/src/3D/controls/button3D.ts

@@ -44,7 +44,7 @@ module BABYLON.GUI {
             this._resetContent();
         }   
         
-        protected _disposeFaceTexture() {
+        protected _disposeFacadeTexture() {
             if (this._facadeTexture) {
                 this._facadeTexture.dispose();
                 this._facadeTexture = null;
@@ -52,7 +52,7 @@ module BABYLON.GUI {
         }
 
         private _resetContent() {
-            this._disposeFaceTexture();
+            this._disposeFacadeTexture();
             this.content = this._content;
         }
 

+ 1 - 1
gui/src/3D/controls/holographicButton.ts

@@ -106,7 +106,7 @@ module BABYLON.GUI {
         }        
 
         private _rebuildContent(): void {
-            this._disposeFaceTexture();
+            this._disposeFacadeTexture();
 
             let panel = new StackPanel();
             panel.isVertical = true;