Skip to content
Snippets Groups Projects
Commit 2c68d341 authored by David Sehnal's avatar David Sehnal
Browse files

QueryContext tweak

parent ad45d9c9
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ export class QueryContext implements QueryContextView { ...@@ -30,7 +30,7 @@ export class QueryContext implements QueryContextView {
currentStructure: Structure = void 0 as any; currentStructure: Structure = void 0 as any;
/** Current link between atoms */ /** 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) { setElement(unit: Unit, e: ElementIndex) {
this.element.unit = unit; this.element.unit = unit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment