Browse Source

fix shape label

Alexander Rose 6 năm trước cách đây
mục cha
commit
39615dd593
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/mol-theme/label.ts

+ 1 - 1
src/mol-theme/label.ts

@@ -34,7 +34,7 @@ export function labelFirst(loci: Loci): string {
         case 'group-loci':
             const g = loci.groups[0]
             if (g) {
-                return g.shape.labels.ref.value[OrderedSet.getAt(g.ids, 0)]
+                return loci.shape.labels.ref.value[OrderedSet.getAt(g.ids, 0)]
             } else {
                 return 'Unknown'
             }