소스 검색

Merge pull request #1135 from nockawa/engine2d

Fix background visibility toggle
David Catuhe 9 년 전
부모
커밋
359fc92352
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/Canvas2d/babylon.canvas2d.ts

+ 3 - 3
src/Canvas2d/babylon.canvas2d.ts

@@ -209,7 +209,7 @@
             }
 
             this._background.fill = value;
-            this._background.isVisible = true;
+            this._background.levelVisible = true;
         }
 
         /**
@@ -231,7 +231,7 @@
             }
 
             this._background.border = value;
-            this._background.isVisible = true;
+            this._background.levelVisible = true;
         }
 
         public get backgroundRoundRadius(): number {
@@ -249,7 +249,7 @@
             }
 
             this._background.roundRadius = value;
-            this._background.isVisible = true;
+            this._background.levelVisible = true;
         }
 
         public get engineData(): Canvas2DEngineBoundData {