Skip to content
This repository was archived by the owner on Dec 21, 2025. It is now read-only.

Commit bb63b82

Browse files
Update multiple viewers
1 parent afc4c08 commit bb63b82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

viewers/templates/PDB Viewer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@
26702670
let positions_count = positions.count;
26712671

26722672
// Try to unclutter atoms depending on their number
2673-
let scale = positions_count < 200 ? 25 : (positions_count < 750 ? 20 : (positions_count < 1500 ? 16 : (positions_count < 15000 ? 12 : 7)));
2673+
let scale = positions_count < 200 ? 25 : (positions_count < 750 ? 20 : (positions_count < 1500 ? 17 : (positions_count < 15000 ? 14 : 12)));
26742674

26752675
for ( var i = 0; i < positions.count; i ++ ) {
26762676
position.x = positions.getX( i );

viewers/templates/PDB WebGPU.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2602,7 +2602,7 @@
26022602
let positions_count = positions.count;
26032603

26042604
// Try to unclutter atoms depending on their number
2605-
let scale = positions_count < 200 ? 25 : (positions_count < 750 ? 20 : (positions_count < 1500 ? 16 : (positions_count < 15000 ? 12 : 7)));
2605+
let scale = positions_count < 200 ? 25 : (positions_count < 750 ? 20 : (positions_count < 1500 ? 17 : (positions_count < 15000 ? 14 : 12)));
26062606

26072607
for ( var i = 0; i < positions.count; i ++ ) {
26082608
position.x = positions.getX( i );

0 commit comments

Comments
 (0)