fix mismatch between file content and selection
This commit is contained in:
parent
e0fd6aa18b
commit
57c1635eb7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
let fileStore = $fileObservers.get(fileId);
|
||||
if (fileStore) {
|
||||
let file = get(fileStore)?.file;
|
||||
if (file) {
|
||||
if (file && trackIndex < file.trk.length) {
|
||||
canMergeTraces = file.trk[trackIndex].getSegments().length > 1;
|
||||
} else {
|
||||
canMergeTraces = false;
|
||||
|
|
Loading…
Reference in a new issue