bruce-cesium 7.5.4 → 7.5.5
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/bruce-cesium.es5.js +12 -5
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +10 -3
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/visuals-register.js +9 -2
- package/dist/lib/rendering/visuals-register.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -12395,8 +12395,15 @@
|
|
|
12395
12395
|
createIfMissing: params.createIfMissing !== false
|
|
12396
12396
|
};
|
|
12397
12397
|
const doc = this.viewer.container.ownerDocument;
|
|
12398
|
-
|
|
12399
|
-
|
|
12398
|
+
// Only a label following the cursor should go when the cursor leaves the canvas.
|
|
12399
|
+
if (params.position) {
|
|
12400
|
+
doc.addEventListener("pointermove", this.CheckLabelHoverBounds, true);
|
|
12401
|
+
this.viewer.container.addEventListener("pointerleave", this.CheckLabelHoverBounds);
|
|
12402
|
+
}
|
|
12403
|
+
else {
|
|
12404
|
+
doc.removeEventListener("pointermove", this.CheckLabelHoverBounds, true);
|
|
12405
|
+
this.viewer.container.removeEventListener("pointerleave", this.CheckLabelHoverBounds);
|
|
12406
|
+
}
|
|
12400
12407
|
doc.defaultView.addEventListener("blur", this.ClearLabelHover);
|
|
12401
12408
|
this.SyncLabelHover();
|
|
12402
12409
|
this.viewer.scene.requestRender();
|
|
@@ -51170,7 +51177,7 @@ void main() {
|
|
|
51170
51177
|
StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
|
|
51171
51178
|
})(exports.StyleUtils || (exports.StyleUtils = {}));
|
|
51172
51179
|
|
|
51173
|
-
const VERSION = "7.5.
|
|
51180
|
+
const VERSION = "7.5.5";
|
|
51174
51181
|
/**
|
|
51175
51182
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
51176
51183
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|