@checksub_team/peaks_timeline 1.9.1 → 1.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checksub_team/peaks_timeline",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "JavaScript UI component for displaying audio waveforms",
5
5
  "main": "./peaks.js",
6
6
  "types": "./peaks.js.d.ts",
package/peaks.js CHANGED
@@ -20159,7 +20159,7 @@ module.exports = function (MouseDragHandler, PlayheadLayer, SourcesLayer, ModeLa
20159
20159
  this.clearScrollingInterval();
20160
20160
  };
20161
20161
  TimelineZoomView.prototype.getSelectedElements = function () {
20162
- return this._modeLayer.getSelectedElements();
20162
+ return Object.values(this._modeLayer.getSelectedElements());
20163
20163
  };
20164
20164
  TimelineZoomView.prototype.updateWithAutoScroll = function (updateInInterval, updateOutInterval) {
20165
20165
  var self = this;
@@ -303,7 +303,7 @@ define([
303
303
  };
304
304
 
305
305
  TimelineZoomView.prototype.getSelectedElements = function() {
306
- return this._modeLayer.getSelectedElements();
306
+ return Object.values(this._modeLayer.getSelectedElements());
307
307
  };
308
308
 
309
309
  TimelineZoomView.prototype.updateWithAutoScroll = function(updateInInterval,