|
@@ -159,6 +159,10 @@ module BABYLON.GUI {
|
|
return this._cellWidth;
|
|
return this._cellWidth;
|
|
}
|
|
}
|
|
set cellWidth(value: number) {
|
|
set cellWidth(value: number) {
|
|
|
|
+ if(this._cellWidth === value){
|
|
|
|
+ return;
|
|
|
|
+ )
|
|
|
|
+
|
|
this._cellWidth = value;
|
|
this._cellWidth = value;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -166,6 +170,10 @@ module BABYLON.GUI {
|
|
return this._cellHeight;
|
|
return this._cellHeight;
|
|
}
|
|
}
|
|
set cellHeight(value: number) {
|
|
set cellHeight(value: number) {
|
|
|
|
+ if(this._cellHeight === value){
|
|
|
|
+ return;
|
|
|
|
+ )
|
|
|
|
+
|
|
this._cellHeight = value;
|
|
this._cellHeight = value;
|
|
}
|
|
}
|
|
|
|
|