plotly.js 2.16.0 → 2.16.2

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * plotly.js (strict) v2.16.0
2
+ * plotly.js (strict) v2.16.2
3
3
  * Copyright 2012-2022, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -187220,7 +187220,7 @@ proto.updateFx = function(fullLayout) {
187220
187220
  map.off('click', self.onClickInPanHandler);
187221
187221
  if(selectMode(dragMode) || drawMode(dragMode)) {
187222
187222
  map.dragPan.disable();
187223
- map.on('zoomstart', self.clearSelect);
187223
+ map.on('zoomstart', self.clearOutline);
187224
187224
 
187225
187225
  self.dragOptions.prepFn = function(e, startX, startY) {
187226
187226
  prepSelect(e, startX, startY, self.dragOptions, dragMode);
@@ -187229,7 +187229,7 @@ proto.updateFx = function(fullLayout) {
187229
187229
  dragElement.init(self.dragOptions);
187230
187230
  } else {
187231
187231
  map.dragPan.enable();
187232
- map.off('zoomstart', self.clearSelect);
187232
+ map.off('zoomstart', self.clearOutline);
187233
187233
  self.div.onmousedown = null;
187234
187234
  self.div.ontouchstart = null;
187235
187235
  self.div.removeEventListener('touchstart', self.div._ontouchstart);
@@ -205975,6 +205975,9 @@ var proto = ChoroplethMapbox.prototype;
205975
205975
 
205976
205976
  proto.update = function(calcTrace) {
205977
205977
  this._update(convert(calcTrace));
205978
+
205979
+ // link ref for quick update during selections
205980
+ calcTrace[0].trace._glTrace = this;
205978
205981
  };
205979
205982
 
205980
205983
  proto.updateOnSelect = function(calcTrace) {
@@ -237930,7 +237933,7 @@ proto.update = function update(calcTrace) {
237930
237933
  this.clusterEnabled = hasCluster;
237931
237934
  }
237932
237935
 
237933
- // link ref for quick update during selections
237936
+ // link ref for quick update during selections
237934
237937
  calcTrace[0].trace._glTrace = this;
237935
237938
  };
237936
237939
 
@@ -250397,7 +250400,7 @@ function getSortFunc(opts, d2c) {
250397
250400
  'use strict';
250398
250401
 
250399
250402
  // package version injected by `npm run preprocess`
250400
- exports.version = '2.16.0';
250403
+ exports.version = '2.16.2';
250401
250404
 
250402
250405
  },{}],1151:[function(_dereq_,module,exports){
250403
250406
  (function (global){(function (){