three-cad-viewer 3.2.0 → 3.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-cad-viewer",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,5 +45,6 @@
45
45
  "rollup-plugin-serve": "^1.1.1",
46
46
  "rollup-plugin-string": "^3.0.0"
47
47
  },
48
- "babel": {}
48
+ "babel": {},
49
+ "packageManager": "yarn@1.22.22"
49
50
  }
package/src/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = "3.2.0";
1
+ export const version = "3.2.2";
package/src/treeview.js CHANGED
@@ -670,7 +670,7 @@ class TreeView {
670
670
  this.updateChildrenStates(node, i);
671
671
  this.update(null, i);
672
672
  }
673
- this.updateHandler();
673
+ this.updateHandler(true);
674
674
  this.notificationHandler();
675
675
  }
676
676
 
package/src/viewer.js CHANGED
@@ -2736,7 +2736,7 @@ class Viewer {
2736
2736
  this.toggleAnimationLoop(true);
2737
2737
  }
2738
2738
  this.orientationMarker.setVisible(false);
2739
- this.update(false, false);
2739
+ this.update(true);
2740
2740
  let result = new Promise((resolve, reject) => {
2741
2741
  const canvas = this.display.getCanvas();
2742
2742
  this.renderer.setViewport(0, 0, this.cadWidth, this.height);
@@ -2752,7 +2752,7 @@ class Viewer {
2752
2752
  this.toggleAnimationLoop(false);
2753
2753
  }
2754
2754
  this.orientationMarker.setVisible(true);
2755
- this.update(false, false);
2755
+ this.update(true);
2756
2756
  },
2757
2757
  { once: true },
2758
2758
  );