bruce-cesium 2.5.6 → 2.5.7

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.
@@ -4231,10 +4231,8 @@
4231
4231
  var found = [];
4232
4232
  var width = Math.ceil(EnsureNumber(params.width, 5));
4233
4233
  var height = Math.ceil(EnsureNumber(params.height, 5));
4234
- var x = Math.ceil(cursor.x - width / 2);
4235
- var y = Math.ceil(cursor.y - height / 2);
4236
4234
  var pickLimit = Math.ceil(EnsureNumber(params.pickLimit, 5));
4237
- var picked = this.viewer.scene.drillPick(new Cesium.Cartesian2(x, y), pickLimit, width, height);
4235
+ var picked = this.viewer.scene.drillPick(new Cesium.Cartesian2(cursor.x, cursor.y), pickLimit, width, height);
4238
4236
  for (var i = 0; i < picked.length; i++) {
4239
4237
  var object = picked[i];
4240
4238
  var entity = (object && object.id && object.id instanceof Cesium.Entity ? object.id : object);
@@ -14962,7 +14960,7 @@
14962
14960
  ViewerUtils.CreateWidgets = CreateWidgets;
14963
14961
  })(exports.ViewerUtils || (exports.ViewerUtils = {}));
14964
14962
 
14965
- var VERSION$1 = "2.5.6";
14963
+ var VERSION$1 = "2.5.7";
14966
14964
 
14967
14965
  exports.VERSION = VERSION$1;
14968
14966
  exports.CesiumViewMonitor = CesiumViewMonitor;