Browse Source

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

Fixes #7822
https://gitlab.com/kicad/code/kicad/issues/7822
6.0.7
jean-pierre charras 5 years ago
parent
commit
70ce53112b
  1. 2
      pagelayout_editor/pl_draw_panel_gal.cpp

2
pagelayout_editor/pl_draw_panel_gal.cpp

@ -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.

Loading…
Cancel
Save