Allow `InputRoll.QueryRowBkColor` to be used without `QueryItemBkColor`

This commit is contained in:
James Groom 2024-05-16 03:31:34 +10:00 committed by GitHub
parent fdc45cd61a
commit d787c0fefc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ namespace BizHawk.Client.EmuHawk
// Draw Gridlines and background colors using QueryItemBkColor.
private void DrawBg(List<RollColumn> visibleColumns, Rectangle rect, int firstVisibleRow, int lastVisibleRow)
{
if (QueryItemBkColor != null)
if (QueryItemBkColor is not null || QueryRowBkColor is not null)
{
DoBackGroundCallback(visibleColumns, rect, firstVisibleRow, lastVisibleRow);
}