Ver Fonte

fix missing underscore

Alexander Rose há 6 anos atrás
pai
commit
914e4d35d3
1 ficheiros alterados com 1 adições e 1 exclusões
  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!;
     }