Skip to content

Commit a748996

Browse files
AmirMohammad CheraghaliAmirMohammad Cheraghali
authored andcommitted
fix: remove scale override for ball+stick representation
1 parent 3128a81 commit a748996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ProteinViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ export const ProteinViewer = forwardRef<ProteinViewerRef, ProteinViewerProps>(({
24632463
// Specific adjustments based on style
24642464
if (style === 'cartoon') Object.assign(chainParams, cartoonParams);
24652465
// For atomic/bond representations, ensure reasonable defaults
2466-
if (['ball+stick', 'licorice'].includes(style)) {
2466+
if (style === 'licorice') {
24672467
chainParams.scale = 2.0;
24682468
}
24692469

0 commit comments

Comments
 (0)