Eeschema: Allow junction dots to be hidden
Drawing junction dots at the line width allows users who do not like them in their schematics to avoid having them drawn.
This commit is contained in:
parent
610d200e8a
commit
75b5324762
|
@ -45,7 +45,7 @@ int SCH_JUNCTION::m_symbolSize = 40; // Default diameter of the junction symb
|
|||
|
||||
int SCH_JUNCTION::GetEffectiveSymbolSize()
|
||||
{
|
||||
return std::max( KiROUND( GetDefaultLineThickness() * 1.5 ), m_symbolSize );
|
||||
return std::max( GetDefaultLineThickness(), m_symbolSize );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
static void SetSymbolSize( int aSize ) { m_symbolSize = aSize; }
|
||||
|
||||
// Return the size the symbol should be drawn at. This is GetSymbolSize() clamped to be
|
||||
// no less than 1.5 X the current wire width.
|
||||
// no less than the current wire width.
|
||||
static int GetEffectiveSymbolSize();
|
||||
|
||||
void SwapData( SCH_ITEM* aItem ) override;
|
||||
|
|
Loading…
Reference in New Issue