Do not show hidden fields in the component selector
This is not necessary anymore, as they are displayed in the info box.
This commit is contained in:
parent
a61be7e00e
commit
69165aa0a0
|
@ -362,6 +362,7 @@ void DIALOG_CHOOSE_COMPONENT::renderPreview( LIB_PART* aComponent, int aUnit )
|
||||||
wxPoint offset = -bBox.Centre();
|
wxPoint offset = -bBox.Centre();
|
||||||
|
|
||||||
auto opts = PART_DRAW_OPTIONS::Default();
|
auto opts = PART_DRAW_OPTIONS::Default();
|
||||||
|
opts.draw_hidden_fields = false;
|
||||||
aComponent->Draw( NULL, &dc, offset, aUnit, m_deMorganConvert, opts );
|
aComponent->Draw( NULL, &dc, offset, aUnit, m_deMorganConvert, opts );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue