mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1144745 - scale border returned by GetWidgetBorder(), r=karlt
This commit is contained in:
parent
70fd530d22
commit
7dff3b121f
@ -1159,6 +1159,12 @@ nsNativeThemeGTK::GetWidgetBorder(nsDeviceContext* aContext, nsIFrame* aFrame,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gint scale = nsScreenGtk::GetGtkMonitorScaleFactor();
|
||||
aResult->top *= scale;
|
||||
aResult->right *= scale;
|
||||
aResult->bottom *= scale;
|
||||
aResult->left *= scale;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user