Re-add a line deleted by mistake in my commit c04cd812

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17814
This commit is contained in:
jean-pierre charras 2024-04-20 15:35:57 +02:00
parent a86a258f66
commit 65c3fe03fb
1 changed files with 1 additions and 0 deletions

View File

@ -1685,6 +1685,7 @@ void SCH_PAINTER::draw( const SCH_TEXT* aText, int aLayer, bool aDimmed )
case SCH_HIER_LABEL_T: aLayer = LAYER_HIERLABEL; break;
case SCH_GLOBAL_LABEL_T: aLayer = LAYER_GLOBLABEL; break;
case SCH_DIRECTIVE_LABEL_T: aLayer = LAYER_NETCLASS_REFS; break;
case SCH_LABEL_T: aLayer = LAYER_LOCLABEL; break;
case SCH_TEXT_T: aLayer = aText->GetParentSymbol() ? LAYER_DEVICE
: LAYER_NOTES; break;
default: aLayer = LAYER_NOTES; break;