Fix drawing sheet border random thickness glitch.
This commit is contained in:
parent
7e2705e444
commit
26c8c718eb
|
@ -370,5 +370,6 @@ void KIGFX::DS_PAINTER::DrawBorder( const PAGE_INFO* aPageInfo, int aScaleFactor
|
||||||
// Use a gray color for the border color
|
// Use a gray color for the border color
|
||||||
m_gal->SetStrokeColor( m_renderSettings.m_pageBorderColor );
|
m_gal->SetStrokeColor( m_renderSettings.m_pageBorderColor );
|
||||||
m_gal->SetIsFill( false );
|
m_gal->SetIsFill( false );
|
||||||
|
m_gal->SetLineWidth( m_renderSettings.GetDefaultPenWidth() );
|
||||||
m_gal->DrawRectangle( origin, end );
|
m_gal->DrawRectangle( origin, end );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue