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:
Seth Hillbrand 2019-06-17 04:48:10 -07:00
parent 610d200e8a
commit 75b5324762
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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;