Auto-zoom means auto-zoom. Other zoom settings do not.
Fixes https://gitlab.com/kicad/code/kicad/issues/6257
This commit is contained in:
parent
37fb422516
commit
2b5f7d594b
|
@ -757,7 +757,6 @@ void FOOTPRINT_EDIT_FRAME::updateView()
|
||||||
GetCanvas()->UpdateColors();
|
GetCanvas()->UpdateColors();
|
||||||
GetCanvas()->DisplayBoard( GetBoard() );
|
GetCanvas()->DisplayBoard( GetBoard() );
|
||||||
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
|
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
|
||||||
m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );
|
|
||||||
updateTitle();
|
updateTitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,8 @@ void FOOTPRINT_EDIT_FRAME::LoadModuleFromLibrary( LIB_ID aFPID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Zoom_Automatique( false );
|
if( m_zoomSelectBox->GetSelection() == 0 )
|
||||||
|
Zoom_Automatique( false );
|
||||||
|
|
||||||
Update3DView( true );
|
Update3DView( true );
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,5 @@ bool FOOTPRINT_EDIT_FRAME::Clear_Pcb( bool aQuery )
|
||||||
|
|
||||||
GetScreen()->InitDataPoints( GetPageSizeIU() );
|
GetScreen()->InitDataPoints( GetPageSizeIU() );
|
||||||
|
|
||||||
Zoom_Automatique( false );
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue