Don't update hidden scrollbars.

This commit is contained in:
Alex 2022-11-18 00:33:22 +05:00
parent dcb131c20d
commit 4b1994e554
1 changed files with 2 additions and 1 deletions

View File

@ -206,6 +206,7 @@ void EDA_DRAW_PANEL_GAL::DoRePaint()
if( !IsDialogPreview() && GetParentEDAFrame() && GetParentEDAFrame()->GetScreen() )
GetParentEDAFrame()->GetScreen()->m_ScrollCenter = GetView()->GetCenter();
if( Pgm().GetCommonSettings()->m_Appearance.show_scrollbars )
m_viewControls->UpdateScrollbars();
if( !m_drawingEnabled )