From b03ac1f614e0181cfbe437223a84e56a619dfadc Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 25 Feb 2018 18:55:18 -0500 Subject: [PATCH] Only update item color when highlighting items in GerbView --- gerbview/tools/gerbview_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerbview/tools/gerbview_control.cpp b/gerbview/tools/gerbview_control.cpp index f0d1961651..9de8b83222 100644 --- a/gerbview/tools/gerbview_control.cpp +++ b/gerbview/tools/gerbview_control.cpp @@ -113,7 +113,7 @@ int GERBVIEW_CONTROL::HighlightControl( const TOOL_EVENT& aEvent ) } } - m_frame->GetGalCanvas()->GetView()->RecacheAllItems(); + m_frame->GetGalCanvas()->GetView()->UpdateAllItems( KIGFX::COLOR ); m_frame->GetGalCanvas()->Refresh(); return 0;