From 875caa694c1381461c19ec860be39583bcf6c5f3 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 17 Jun 2019 04:48:10 -0700 Subject: [PATCH] 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 75b5324762bff5807d0de78d4e96cc7e4687d729) --- eeschema/sch_junction.cpp | 2 +- eeschema/sch_junction.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_junction.cpp b/eeschema/sch_junction.cpp index b2e4e58a35..e73260a75a 100644 --- a/eeschema/sch_junction.cpp +++ b/eeschema/sch_junction.cpp @@ -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 ); } diff --git a/eeschema/sch_junction.h b/eeschema/sch_junction.h index 70a6f86fc6..e01e2c832b 100644 --- a/eeschema/sch_junction.h +++ b/eeschema/sch_junction.h @@ -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;