@checksub_team/peaks_timeline 2.3.0-alpha.2 → 2.3.0-alpha.3
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 +1 -1
- package/src/components/source-group.js +1 -1
package/package.json
CHANGED
package/peaks.js
CHANGED
|
@@ -18648,7 +18648,7 @@ module.exports = function (WaveformBuilder, WaveformShape, Loader, Invoker, Util
|
|
|
18648
18648
|
listening: false,
|
|
18649
18649
|
sceneFunc: function (context, shape) {
|
|
18650
18650
|
var absX = this.absolutePosition().x;
|
|
18651
|
-
if (self._source.textAutoScroll
|
|
18651
|
+
if (self._source.textAutoScroll) {
|
|
18652
18652
|
this.offsetX(Math.max(Math.min(0, absX - defaultXOffset), -(maxXOffset - shape.width())));
|
|
18653
18653
|
}
|
|
18654
18654
|
defaultWidth = defaultWidth ? defaultWidth : shape.width();
|
|
@@ -738,7 +738,7 @@ define([
|
|
|
738
738
|
sceneFunc: function(context, shape) {
|
|
739
739
|
var absX = this.absolutePosition().x;
|
|
740
740
|
|
|
741
|
-
if (self._source.textAutoScroll
|
|
741
|
+
if (self._source.textAutoScroll) {
|
|
742
742
|
this.offsetX(Math.max(Math.min(0, absX - defaultXOffset), -(maxXOffset - shape.width())));
|
|
743
743
|
}
|
|
744
744
|
defaultWidth = defaultWidth ? defaultWidth : shape.width();
|