PlEditor: fix a truncation that creates a small size error.

Fixes #7822
https://gitlab.com/kicad/code/kicad/issues/7822
This commit is contained in:
jean-pierre charras 2021-03-07 13:17:08 +01:00
parent 56f6e7cc17
commit 70ce53112b
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void PL_DRAW_PANEL_GAL::DisplayWorksheet()
auto settings = painter->GetSettings();
settings->SetShowPageLimits( true );
model.SetupDrawEnvironment( m_edaFrame->GetPageSettings(), Mils2iu( 1 ) );
model.SetupDrawEnvironment( m_edaFrame->GetPageSettings(), IU_PER_MILS );
// To show the formatted texts instead of raw texts in drawing sheet editor, we need
// a dummy DS_DRAW_ITEM_LIST.