Browse Source

Update image.ts

aWeirdo 7 years ago
parent
commit
62a333f7a7
1 changed files with 2 additions and 0 deletions
  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 {