Minor formatting fix
This commit is contained in:
parent
16a02e6338
commit
f3adef1047
@ -278,7 +278,8 @@ void wxSetScaledScreenDCFont(wxScreenDC& sDC, const wxFont& font)
|
||||
sDC.SetFont(font);
|
||||
|
||||
const double scale = sDC.GetContentScaleFactor();
|
||||
if (scale > 1) {
|
||||
if ( scale > 1 )
|
||||
{
|
||||
// wxScreenDC uses the DPI of the main screen to determine the text
|
||||
// extent and character width/height. Because the SVG should be
|
||||
// DPI-independent we want the text extent of the default (96) DPI.
|
||||
|
Loading…
Reference in New Issue
Block a user