mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 09:22:12 +00:00
fix mismatch between file content and selection
This commit is contained in:
1 parent
e0fd6aa18b
commit
57c1635eb7
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user