Reset plotter dash-style after use.
Fixes https://gitlab.com/kicad/code/kicad/issues/11527
This commit is contained in:
parent
40c75c74fa
commit
dfa6b9ed15
|
@ -347,6 +347,7 @@ void LIB_TEXTBOX::Plot( PLOTTER* aPlotter, bool aBackground, const VECTOR2I& aOf
|
|||
aPlotter->SetColor( color );
|
||||
aPlotter->SetDash( lineStyle );
|
||||
aPlotter->Rect( start, end, FILL_T::NO_FILL, penWidth );
|
||||
aPlotter->SetDash( PLOT_DASH_TYPE::SOLID );
|
||||
}
|
||||
|
||||
LIB_TEXTBOX text( *this );
|
||||
|
|
|
@ -357,6 +357,7 @@ void SCH_TEXTBOX::Plot( PLOTTER* aPlotter, bool aBackground ) const
|
|||
aPlotter->SetColor( color );
|
||||
aPlotter->SetDash( lineStyle );
|
||||
aPlotter->Rect( m_start, m_end, FILL_T::NO_FILL, penWidth );
|
||||
aPlotter->SetDash( PLOT_DASH_TYPE::SOLID );
|
||||
}
|
||||
|
||||
color = GetTextColor();
|
||||
|
|
Loading…
Reference in New Issue