소스 검색

fix missing underscore

Alexander Rose 7 년 전
부모
커밋
914e4d35d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/mol-model/structure/structure/util/lookup3d.ts

+ 1 - 1
src/mol-model/structure/structure/util/lookup3d.ts

@@ -84,7 +84,7 @@ export class StructureLookup3D implements Lookup3D<Element> {
     _boundary: { box: Box3D; sphere: Sphere3D; } | undefined = void 0;
 
     get boundary() {
-        if (this.boundary) return this._boundary!;
+        if (this._boundary) return this._boundary!;
         this._boundary = computeStructureBoundary(this.structure);
         return this._boundary!;
     }