'Line' component set to px used to render slightly thicker than 1px, appearing thicker than schematic symbols

This commit is contained in:
Bane Stojkovic
2026-06-03 19:44:58 +02:00
parent 0cdbcd60fe
commit 9de5fe6ebc
@@ -82,7 +82,7 @@ public class Line extends AbstractLeadedComponent<Void> {
Stroke stroke = null;
switch (getStyle()) {
case SOLID:
stroke = ObjectCache.getInstance().fetchZoomableStroke(thickness);
stroke = ObjectCache.getInstance().fetchBasicStroke(thickness);
break;
case DASHED:
stroke = ObjectCache.getInstance().fetchStroke(thickness, new float[] {thickness * 2, thickness * 4}, thickness * 4, BasicStroke.CAP_SQUARE);