bruce-cesium 7.6.8 → 7.6.9
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 +8 -5
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +6 -3
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/menu-item-manager.js +5 -2
- package/dist/lib/rendering/menu-item-manager.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
|
@@ -32901,10 +32901,13 @@
|
|
|
32901
32901
|
if (!rItem || !this.isStyleSwapCapable(rItem.renderManager) || rItem.renderManager.Disposed) {
|
|
32902
32902
|
return false;
|
|
32903
32903
|
}
|
|
32904
|
-
const
|
|
32905
|
-
if (!
|
|
32904
|
+
const picked = exports.MenuItemStyles.WithStyleId(rItem.item, styleId);
|
|
32905
|
+
if (!picked) {
|
|
32906
32906
|
return false;
|
|
32907
32907
|
}
|
|
32908
|
+
// A Style record a bookmark laid is drawn over the pick, so picking one of the item's own takes it off.
|
|
32909
|
+
const chosen = exports.MenuItemStyleOverlay.WithItemStyle(picked, null);
|
|
32910
|
+
const next = exports.MenuItemStyleOverlay.With(chosen, this.getEffectiveOverlay(chosen, this.styleOverlay));
|
|
32908
32911
|
rItem.renderManager.SwapStyle(next);
|
|
32909
32912
|
rItem.item = next;
|
|
32910
32913
|
(_a = this.onUpdate) === null || _a === void 0 ? void 0 : _a.Trigger({ isEnabling: true, itemId: rItem.id });
|
|
@@ -56533,7 +56536,7 @@ void main() {
|
|
|
56533
56536
|
StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
|
|
56534
56537
|
})(exports.StyleUtils || (exports.StyleUtils = {}));
|
|
56535
56538
|
|
|
56536
|
-
const VERSION = "7.6.
|
|
56539
|
+
const VERSION = "7.6.9";
|
|
56537
56540
|
/**
|
|
56538
56541
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
56539
56542
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|