Use our Refresh() call, not wxWidgets'.
Fixes https://gitlab.com/kicad/code/kicad/issues/6071
This commit is contained in:
parent
ce5fbb0c58
commit
41c6de45e4
|
@ -1312,7 +1312,7 @@ int PCB_EDITOR_CONTROL::FlipPcbView( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
view()->SetMirror( !view()->IsMirroredX(), false );
|
||||
view()->RecacheAllItems();
|
||||
frame()->Refresh();
|
||||
frame()->GetCanvas()->ForceRefresh();
|
||||
frame()->OnDisplayOptionsChanged();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue