JonStargaryen 4 년 전
부모
커밋
58f57d5ad2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/extensions/membrane-orientation/behavior.ts

+ 1 - 1
src/extensions/membrane-orientation/behavior.ts

@@ -74,7 +74,7 @@ const isTransmembraneSymbol = QuerySymbolRuntime.Dynamic(CustomPropSymbol('membr
     ctx => {
         const structure = ctx.currentStructure;
         const { x, y, z } = StructureProperties.atom;
-        if (!structure.isAtomic) return 0;
+        if (!structure.isAtomic) return false;
         const membraneOrientation = MembraneOrientationProvider.get(structure).value;
         if (!membraneOrientation) return false;
         Vec3.set(pos, x(ctx.element), y(ctx.element), z(ctx.element));