@checksub_team/peaks_timeline 2.0.0-alpha.3 → 2.0.0-alpha.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/package.json +1 -1
- package/peaks.js +2 -0
- package/src/components/source-group.js +2 -0
package/package.json
CHANGED
package/peaks.js
CHANGED
|
@@ -18800,6 +18800,7 @@ module.exports = function (WaveformBuilder, WaveformShape, Loader, Utils, Konva)
|
|
|
18800
18800
|
volumeSliderGroup.add(volumeSliderLine);
|
|
18801
18801
|
volumeSliderGroup.on('dragstart', function () {
|
|
18802
18802
|
volumeText.visible(true);
|
|
18803
|
+
self._peaks.emit('source.startVolumeChange', self._source);
|
|
18803
18804
|
});
|
|
18804
18805
|
volumeSliderGroup.on('dragmove', function () {
|
|
18805
18806
|
var volume = self._getVolumeFromY(volumeSliderGroup.y());
|
|
@@ -18810,6 +18811,7 @@ module.exports = function (WaveformBuilder, WaveformShape, Loader, Utils, Konva)
|
|
|
18810
18811
|
});
|
|
18811
18812
|
volumeSliderGroup.on('dragend', function () {
|
|
18812
18813
|
volumeText.visible(false);
|
|
18814
|
+
self._peaks.emit('source.endVolumeChange', self._source);
|
|
18813
18815
|
});
|
|
18814
18816
|
volumeSliderGroup.on('mouseover', function () {
|
|
18815
18817
|
self._cursor = 'ns-resize';
|
|
@@ -1592,6 +1592,7 @@ define([
|
|
|
1592
1592
|
|
|
1593
1593
|
volumeSliderGroup.on('dragstart', function() {
|
|
1594
1594
|
volumeText.visible(true);
|
|
1595
|
+
self._peaks.emit('source.startVolumeChange', self._source);
|
|
1595
1596
|
});
|
|
1596
1597
|
|
|
1597
1598
|
volumeSliderGroup.on('dragmove', function() {
|
|
@@ -1607,6 +1608,7 @@ define([
|
|
|
1607
1608
|
|
|
1608
1609
|
volumeSliderGroup.on('dragend', function() {
|
|
1609
1610
|
volumeText.visible(false);
|
|
1611
|
+
self._peaks.emit('source.endVolumeChange', self._source);
|
|
1610
1612
|
});
|
|
1611
1613
|
|
|
1612
1614
|
volumeSliderGroup.on('mouseover', function() {
|