Prechádzať zdrojové kódy

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

Michal Malý 3 rokov pred
rodič
commit
c8c2ebcd65

+ 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 });
         }