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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user