@checksub_team/peaks_timeline 2.2.1-alpha.0 → 2.2.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 +1 -1
- package/peaks.js +1 -1
- package/src/components/line-indicator.js +3 -1
package/package.json
CHANGED
package/peaks.js
CHANGED
|
@@ -16069,7 +16069,7 @@ module.exports = function (Konva, SVGs, Utils) {
|
|
|
16069
16069
|
this._peaks.logger('peaks.line-indicator.update(): line indicator not found: ' + line.id);
|
|
16070
16070
|
return;
|
|
16071
16071
|
}
|
|
16072
|
-
if (indicatorData.type === line.indicatorType && indicatorData.text === line.indicatorText) {
|
|
16072
|
+
if (indicatorData.type === line.indicatorType && indicatorData.text === line.indicatorText && indicatorData.subText === line.indicatorSubText) {
|
|
16073
16073
|
return;
|
|
16074
16074
|
}
|
|
16075
16075
|
this.removeIndicator(line.id, true);
|
|
@@ -326,7 +326,9 @@ define([
|
|
|
326
326
|
return;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
if (indicatorData.type === line.indicatorType
|
|
329
|
+
if (indicatorData.type === line.indicatorType
|
|
330
|
+
&& indicatorData.text === line.indicatorText
|
|
331
|
+
&& indicatorData.subText === line.indicatorSubText) {
|
|
330
332
|
return;
|
|
331
333
|
}
|
|
332
334
|
|