Fix drawing sheet border random thickness glitch.

(cherry picked from commit 26c8c718eb)
This commit is contained in:
Alex Shvartzkop 2023-12-05 19:30:44 +03:00
parent 9850541433
commit 59c638c64c
1 changed files with 1 additions and 0 deletions

View File

@ -356,5 +356,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 );
}