浏览代码

Fixed Dirty Cell Id

Sebastien Vandenberghe 7 年之前
父节点
当前提交
dc2461f554
共有 4 个文件被更改,包括 16532 次插入16520 次删除
  1. 8325 8325
      Playground/babylon.d.txt
  2. 8194 8194
      dist/preview release/babylon.d.ts
  3. 12 0
      dist/preview release/gui/babylon.gui.js
  4. 1 1
      dist/preview release/gui/babylon.gui.min.js

文件差异内容过多而无法显示
+ 8325 - 8325
Playground/babylon.d.txt


文件差异内容过多而无法显示
+ 8194 - 8194
dist/preview release/babylon.d.ts


+ 12 - 0
dist/preview release/gui/babylon.gui.js

@@ -3523,7 +3523,11 @@ var BABYLON;
                     return this._cellWidth;
                 },
                 set: function (value) {
+                    if (this._cellWidth === value) {
+                        return;
+                    }
                     this._cellWidth = value;
+                    this._markAsDirty();
                 },
                 enumerable: true,
                 configurable: true
@@ -3533,7 +3537,11 @@ var BABYLON;
                     return this._cellHeight;
                 },
                 set: function (value) {
+                    if (this._cellHeight === value) {
+                        return;
+                    }
                     this._cellHeight = value;
+                    this._markAsDirty();
                 },
                 enumerable: true,
                 configurable: true
@@ -3543,7 +3551,11 @@ var BABYLON;
                     return this._cellId;
                 },
                 set: function (value) {
+                    if (this._cellId === value) {
+                        return;
+                    }
                     this._cellId = value;
+                    this._markAsDirty();
                 },
                 enumerable: true,
                 configurable: true

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js