From ab5489ad30f1a2f54afd61f9bbb0530379f8615e Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Feb 2022 22:31:14 +0000 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/issues/10390 --- eeschema/lib_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/lib_shape.cpp b/eeschema/lib_shape.cpp index af259ca468..a3ba282fc6 100644 --- a/eeschema/lib_shape.cpp +++ b/eeschema/lib_shape.cpp @@ -152,7 +152,7 @@ void LIB_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground, const VECTOR2I& aOffs if( aBackground ) { - if( aPlotter->GetColorMode() ) + if( !aPlotter->GetColorMode() ) return; switch( m_fill )