mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
* Fix #12552: Grey rectangles appear under windows and menus Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -586,8 +586,7 @@ void window_draw_widgets(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
rct_widgetindex widgetIndex;
|
||||
|
||||
if ((w->flags & WF_TRANSPARENT) && !(w->flags & WF_NO_BACKGROUND))
|
||||
gfx_filter_rect(
|
||||
dpi, { w->windowPos, w->windowPos + ScreenCoordsXY{ w->width - 1, w->windowPos.y + w->height - 1 } }, PALETTE_51);
|
||||
gfx_filter_rect(dpi, { w->windowPos, w->windowPos + ScreenCoordsXY{ w->width - 1, w->height - 1 } }, PALETTE_51);
|
||||
|
||||
// todo: some code missing here? Between 006EB18C and 006EB260
|
||||
|
||||
|
||||
Reference in New Issue
Block a user