mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 12:24:58 +10:00
'Line' component set to px used to render slightly thicker than 1px, appearing thicker than schematic symbols
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user