فهرست منبع

QueryContext tweak

David Sehnal 6 سال پیش
والد
کامیت
2c68d341b4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/mol-model/structure/query/context.ts

+ 1 - 1
src/mol-model/structure/query/context.ts

@@ -30,7 +30,7 @@ export class QueryContext implements QueryContextView {
     currentStructure: Structure = void 0 as any;
 
     /** Current link between atoms */
-    readonly atomicLink: Link.Location<Unit.Atomic> = void 0 as any;
+    readonly atomicLink: Link.Location<Unit.Atomic> = Link.Location() as Link.Location<Unit.Atomic>;
 
     setElement(unit: Unit, e: ElementIndex) {
         this.element.unit = unit;