@checksub_team/peaks_timeline 1.10.0 → 1.10.1

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.10.0",
3
+ "version": "1.10.1",
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
@@ -15884,7 +15884,7 @@ module.exports = function (Utils, Source, SourceGroup, Konva) {
15884
15884
  this.deselectDifference([], true);
15885
15885
  if (selectedElement instanceof Source) {
15886
15886
  if (selectedElement.deletable) {
15887
- this._peaks.destroySource(selectedElement.id);
15887
+ this._peaks.destroySource(selectedElement.id, true);
15888
15888
  }
15889
15889
  } else {
15890
15890
  if (selectedElement.allowDeletion) {
package/src/mode-layer.js CHANGED
@@ -244,7 +244,7 @@ define([
244
244
 
245
245
  if (selectedElement instanceof Source) {
246
246
  if (selectedElement.deletable) {
247
- this._peaks.destroySource(selectedElement.id);
247
+ this._peaks.destroySource(selectedElement.id, true);
248
248
  }
249
249
  }
250
250
  else {