globe.gl 2.41.3 → 2.41.4

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/globe.gl.js CHANGED
@@ -1,4 +1,4 @@
1
- // Version 2.41.3 globe.gl - https://github.com/vasturiano/globe.gl
1
+ // Version 2.41.4 globe.gl - https://github.com/vasturiano/globe.gl
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -158802,7 +158802,7 @@ var<${access}> ${ name } : ${ structName };`;
158802
158802
  },
158803
158803
  toGlobeCoords: function toGlobeCoords(state, x, y) {
158804
158804
  var globeIntersects = state.renderObjs.intersectingObjects(x, y).find(function (d) {
158805
- return d.object.__globeObjType === 'globe';
158805
+ return (d.object.__globeObjType || d.object.parent.__globeObjType) === 'globe';
158806
158806
  });
158807
158807
  if (!globeIntersects) return null; // coords outside globe
158808
158808