@checksub_team/peaks_timeline 1.4.44 → 1.4.45
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 -2
- package/src/playhead-layer.js +2 -2
package/package.json
CHANGED
package/peaks.js
CHANGED
|
@@ -16161,8 +16161,8 @@ module.exports = function (Utils, Konva) {
|
|
|
16161
16161
|
this._playheadLayer.add(this._playheadGroup);
|
|
16162
16162
|
};
|
|
16163
16163
|
PlayheadLayer.prototype._onPlayheadDrag = function (time) {
|
|
16164
|
-
if (
|
|
16165
|
-
|
|
16164
|
+
if (this._peaks.player._seek(time)) {
|
|
16165
|
+
this._peaks.emit('playhead.drag', this._peaks.player.getCurrentTime());
|
|
16166
16166
|
}
|
|
16167
16167
|
};
|
|
16168
16168
|
PlayheadLayer.prototype._onPlayheadDragStart = function () {
|
package/src/playhead-layer.js
CHANGED
|
@@ -207,8 +207,8 @@ define([
|
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
PlayheadLayer.prototype._onPlayheadDrag = function(time) {
|
|
210
|
-
if (
|
|
211
|
-
|
|
210
|
+
if (this._peaks.player._seek(time)) {
|
|
211
|
+
this._peaks.emit('playhead.drag', this._peaks.player.getCurrentTime());
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
|