Fix drawing sheet border random thickness glitch.

This commit is contained in:
Alex Shvartzkop 2023-12-05 19:30:44 +03:00
parent 7e2705e444
commit 26c8c718eb
1 changed files with 1 additions and 0 deletions

View File

@ -370,5 +370,6 @@ void KIGFX::DS_PAINTER::DrawBorder( const PAGE_INFO* aPageInfo, int aScaleFactor
// Use a gray color for the border color
m_gal->SetStrokeColor( m_renderSettings.m_pageBorderColor );
m_gal->SetIsFill( false );
m_gal->SetLineWidth( m_renderSettings.GetDefaultPenWidth() );
m_gal->DrawRectangle( origin, end );
}