7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 17:39:17 +00:00

Fix Pl_Editor scrollbars incorrect position.

This commit is contained in:
jean-pierre charras 2014-06-29 11:24:42 +02:00
parent d4a7685761
commit 33776f2868

View File

@ -84,6 +84,9 @@ PL_EDITOR_SCREEN::PL_EDITOR_SCREEN( const wxSize& aPageSizeIU ) :
for( unsigned i = 0; i < DIM( pl_editorGridList ); ++i )
AddGrid( pl_editorGridList[i] );
// pl_editor uses the same frame position as schematic and board editors
m_Center = false;
// Set the working grid size to a reasonable value
SetGrid( MM_GRID( 1.0 ) );