mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
more accurate pin spacing calc for radial components
This commit is contained in:
@@ -45,7 +45,7 @@ public abstract class AbstractRadialComponent<T> extends AbstractLeadedComponent
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int calculatePinSpacing(Rectangle shapeRect) {
|
protected int calculatePinSpacing(Rectangle shapeRect) {
|
||||||
return getClosestOdd(getPinSpacing().convertToPixels());
|
return (int) getPinSpacing().convertToPixels();
|
||||||
}
|
}
|
||||||
|
|
||||||
@EditableProperty(name = "Pin spacing")
|
@EditableProperty(name = "Pin spacing")
|
||||||
|
|||||||
Reference in New Issue
Block a user