Allow `InputRoll.QueryRowBkColor` to be used without `QueryItemBkColor`
This commit is contained in:
parent
fdc45cd61a
commit
d787c0fefc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue