mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Use dpi ref in misc drawing functions
This commit is contained in:
committed by
duncanspumpkin
parent
bb83a80eab
commit
91f4c1e752
@@ -554,7 +554,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
{
|
||||
DrawPixelInfo widgetDpi;
|
||||
if (ClipDrawPixelInfo(
|
||||
&widgetDpi, &dpi, { windowPos.x + widget.left, windowPos.y + widget.top }, widget.width(),
|
||||
widgetDpi, dpi, { windowPos.x + widget.left, windowPos.y + widget.top }, widget.width(),
|
||||
widget.height()))
|
||||
{
|
||||
auto ctx = onDraw.context();
|
||||
|
||||
Reference in New Issue
Block a user