1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Part of #12098: Use ScreenRect in gfx_filter_rect() (#15603)

This commit is contained in:
Steve Blythe
2021-10-20 23:43:32 +01:00
committed by GitHub
parent 60422960a3
commit b15dc66acb
18 changed files with 51 additions and 63 deletions

View File

@@ -1228,7 +1228,7 @@ static void window_editor_object_selection_scrollpaint(rct_window* w, rct_drawpi
if (highlighted)
{
auto bottom = screenCoords.y + (SCROLLABLE_ROW_HEIGHT - 1);
gfx_filter_rect(dpi, 0, screenCoords.y, w->width, bottom, FilterPaletteID::PaletteDarken1);
gfx_filter_rect(dpi, { 0, screenCoords.y, w->width, bottom }, FilterPaletteID::PaletteDarken1);
}
// Draw checkmark