فهرست منبع

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 {