Browse Source

Reduce Z-offset of measurement order labels to avoid too early clipping

Michal Malý 3 years ago
parent
commit
c8c2ebcd65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mol-plugin-state/manager/structure/measurement.ts

+ 1 - 0
src/mol-plugin-state/manager/structure/measurement.ts

@@ -310,6 +310,7 @@ class StructureMeasurementManager extends StatefulPluginComponent<StructureMeasu
                     borderColor: Color.fromRgb(0, 0, 0),
                     textSize: 0.33,
                     borderWidth: 0.3,
+                    offsetZ: 0.75,
                     customText: `${order++}`
                 }, { tags: MeasurementOrderLabelTag });
         }