@abi-software/scaffoldvuer 0.1.59 → 0.1.60

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-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -955,6 +955,7 @@ export default {
955
955
  const instance = this;
956
956
  return function() {
957
957
  instance.$module.zincRenderer.removePostRenderCallbackFunction(instance.$_regionTooltipCallback);
958
+ instance.$_regionTooltipCallback = undefined;
958
959
  instance.showRegionTooltip(name, false);
959
960
  }
960
961
  },
@@ -977,12 +978,14 @@ export default {
977
978
  this.$module.scene.viewAll();
978
979
  //Use the post render callback to make sure the scene has been updated
979
980
  //before getting the position of the tooltip.
981
+ if (this.$_regionTooltipCallback) {
982
+ this.$module.zincRenderer.removePostRenderCallbackFunction(this.$_regionTooltipCallback);
983
+ }
980
984
  this.$_regionTooltipCallback =
981
985
  this.$module.zincRenderer.addPostRenderCallbackFunction(
982
986
  this.showRegionTooltipCallback(name)
983
987
  );
984
988
  }
985
- return;
986
989
  } else {
987
990
  this.tData.external = true;
988
991
  this.tData.visible = true;
@@ -995,11 +998,12 @@ export default {
995
998
  else
996
999
  this.tData.region = "Root";
997
1000
  }
1001
+ return true;
998
1002
  }
999
- } else {
1000
- this.hideRegionTooltip();
1001
1003
  }
1002
1004
  }
1005
+ this.hideRegionTooltip();
1006
+ return false;
1003
1007
  },
1004
1008
  hideRegionTooltip: function() {
1005
1009
  this.tData.visible = false;
@@ -487,6 +487,7 @@ export default {
487
487
  border-radius: 4px;
488
488
  background: #ffffff;
489
489
  margin-top: 6px;
490
+ scrollbar-width: thin;
490
491
 
491
492
  ::v-deep .el-tree {
492
493
  max-height: 240px;