@abi-software/flatmapvuer 0.4.5 → 0.4.6
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/flatmapvuer.common.js +34 -32
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +34 -32
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +2 -2
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +6 -4
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -607,16 +607,16 @@ export default {
|
|
|
607
607
|
},
|
|
608
608
|
showToolitip: function(tooltipNumber) {
|
|
609
609
|
if (!this.inHelp) {
|
|
610
|
-
clearTimeout(this.tooltipWait);
|
|
611
|
-
this.tooltipWait = setTimeout(() => {
|
|
610
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
611
|
+
this.tooltipWait[tooltipNumber] = setTimeout(() => {
|
|
612
612
|
this.hoverVisibilities[tooltipNumber].value = true;
|
|
613
613
|
}, 500);
|
|
614
614
|
}
|
|
615
615
|
},
|
|
616
616
|
hideToolitip: function(tooltipNumber) {
|
|
617
617
|
if (!this.inHelp) {
|
|
618
|
-
clearTimeout(this.tooltipWait);
|
|
619
|
-
this.tooltipWait = setTimeout(() => {
|
|
618
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
619
|
+
this.tooltipWait[tooltipNumber] = setTimeout(() => {
|
|
620
620
|
this.hoverVisibilities[tooltipNumber].value = false;
|
|
621
621
|
}, 500);
|
|
622
622
|
}
|
|
@@ -1017,6 +1017,8 @@ export default {
|
|
|
1017
1017
|
},
|
|
1018
1018
|
mounted: function() {
|
|
1019
1019
|
const flatmap = require("@abi-software/flatmap-viewer");
|
|
1020
|
+
this.tooltipWait = [];
|
|
1021
|
+
this.tooltipWait.length = this.hoverVisibilities.length;
|
|
1020
1022
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
1021
1023
|
this.flatmapQueries = new FlatmapQueries();
|
|
1022
1024
|
this.flatmapQueries.initialise(this.sparcAPI, this.flatmapAPI);
|