Make sure de-selected items get redrawn.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16385
This commit is contained in:
parent
b29a56530c
commit
a96b7116d0
|
@ -2919,7 +2919,10 @@ void PCB_SELECTION_TOOL::unhighlightInternal( EDA_ITEM* aItem, int aMode, bool a
|
|||
aItem->ClearBrightened();
|
||||
|
||||
if( aUsingOverlay && aMode != BRIGHTENED )
|
||||
view()->Hide( aItem, false ); // // Restore original item visibility
|
||||
{
|
||||
view()->Hide( aItem, false ); // Restore original item visibility...
|
||||
view()->Update( aItem ); // ... and make sure it's redrawn un-selected
|
||||
}
|
||||
|
||||
if( BOARD_ITEM* boardItem = dynamic_cast<BOARD_ITEM*>( aItem ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue