소스 검색

Update image.ts

aWeirdo 7 년 전
부모
커밋
62a333f7a7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      gui/src/controls/image.ts

+ 2 - 0
gui/src/controls/image.ts

@@ -164,6 +164,7 @@ module BABYLON.GUI {
             }
             
             this._cellWidth = value;
+            this._markAsDirty();
         }
 
         get cellHeight(): number {
@@ -175,6 +176,7 @@ module BABYLON.GUI {
             }
             
             this._cellHeight = value;
+            this._markAsDirty();
         }
 
         get cellId(): number {