From 28beb5ab9dbd873ecb59d5e17f7e3a723cfcc336 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alex.rose@rcsb.org>
Date: Fri, 14 Sep 2018 16:36:18 -0700
Subject: [PATCH] canvas ui fixes

---
 src/apps/canvas/component/structure-representation.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/apps/canvas/component/structure-representation.tsx b/src/apps/canvas/component/structure-representation.tsx
index 4249ddea2..a22db7be5 100644
--- a/src/apps/canvas/component/structure-representation.tsx
+++ b/src/apps/canvas/component/structure-representation.tsx
@@ -57,7 +57,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR
 
             flatShaded: (repr.props as any).flatShaded,
             resolutionFactor: (repr.props as any).resolutionFactor,
-            radiusOffset: (repr.props as any).probeRadius,
+            radiusOffset: (repr.props as any).radiusOffset,
             smoothness: (repr.props as any).smoothness,
         })
     }
@@ -73,7 +73,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR
 
         if (state.flatShaded !== undefined) (props as any).flatShaded = state.flatShaded
         if (state.resolutionFactor !== undefined) (props as any).resolutionFactor = state.resolutionFactor
-        if (state.radiusOffset !== undefined) (props as any).probeRadius = state.radiusOffset
+        if (state.radiusOffset !== undefined) (props as any).radiusOffset = state.radiusOffset
         if (state.smoothness !== undefined) (props as any).smoothness = state.smoothness
 
         await repr.createOrUpdate(props).run(
@@ -101,7 +101,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR
 
             flatShaded: (repr.props as any).flatShaded,
             resolutionFactor: (repr.props as any).resolutionFactor,
-            probeRadius: (repr.props as any).probeRadius,
+            radiusOffset: (repr.props as any).radiusOffset,
             isoValue: (repr.props as any).isoValue,
         }
         this.setState(newState)
-- 
GitLab