瀏覽代碼

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 {