@galacean/engine 1.1.0-beta.43 → 1.1.0-beta.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -24337,8 +24337,8 @@
24337
24337
  set: function set(value) {
24338
24338
  if (this._width !== value) {
24339
24339
  this._width = value;
24340
+ this._onWidthChanged(value);
24340
24341
  this._sizeUpdateFlagManager.dispatch();
24341
- this._onSizeChanged(value, this._width);
24342
24342
  }
24343
24343
  }
24344
24344
  },
@@ -24352,8 +24352,8 @@
24352
24352
  set: function set(value) {
24353
24353
  if (this._height !== value) {
24354
24354
  this._height = value;
24355
+ this._onHeightChange(value);
24355
24356
  this._sizeUpdateFlagManager.dispatch();
24356
- this._onSizeChanged(this._width, value);
24357
24357
  }
24358
24358
  }
24359
24359
  }
@@ -35829,9 +35829,11 @@
35829
35829
  this._scale.set(x, y);
35830
35830
  this.scale = this._scale;
35831
35831
  };
35832
- _proto._onSizeChanged = function _onSizeChanged(width, height) {
35833
- this._webCanvas.width = width;
35834
- this._webCanvas.height = height;
35832
+ _proto._onWidthChanged = function _onWidthChanged(value) {
35833
+ this._webCanvas.width = value;
35834
+ };
35835
+ _proto._onHeightChange = function _onHeightChange(value) {
35836
+ this._webCanvas.height = value;
35835
35837
  };
35836
35838
  _create_class$2(WebCanvas, [
35837
35839
  {
@@ -44078,7 +44080,7 @@
44078
44080
  ], GALACEAN_animation_event);
44079
44081
 
44080
44082
  //@ts-ignore
44081
- var version = "1.1.0-beta.43";
44083
+ var version = "1.1.0-beta.45";
44082
44084
  console.log("Galacean engine version: " + version);
44083
44085
  for(var key in CoreObjects){
44084
44086
  Loader.registerClass(key, CoreObjects[key]);