Bläddra i källkod

Update image.ts

aWeirdo 7 år sedan
förälder
incheckning
62a333f7a7
1 ändrade filer med 2 tillägg och 0 borttagningar
  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 {