Explorar o código

fix shape label

Alexander Rose %!s(int64=6) %!d(string=hai) anos
pai
achega
39615dd593
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'
             }