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.

(cherry picked from commit 75b5324762)
This commit is contained in:
Seth Hillbrand 2019-06-17 04:48:10 -07:00
parent 5d7739a662
commit 875caa694c
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,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

@ -50,7 +50,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;