Ram search - unnoticeable performance improvement, but I feel the need to put this logic in
This commit is contained in:
parent
55545d5f67
commit
a26c4b0b7a
|
@ -145,6 +145,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListView_QueryItemBkColor(int index, int column, ref Color color)
|
private void ListView_QueryItemBkColor(int index, int column, ref Color color)
|
||||||
|
{
|
||||||
|
if (column == 0)
|
||||||
{
|
{
|
||||||
if (_searches.Count > 0 && column == 0)
|
if (_searches.Count > 0 && column == 0)
|
||||||
{
|
{
|
||||||
|
@ -172,6 +174,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
color = nextColor;
|
color = nextColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void ListView_QueryItemText(int index, int column, out string text)
|
private void ListView_QueryItemText(int index, int column, out string text)
|
||||||
{
|
{
|
||||||
|
@ -239,7 +242,9 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
|
|
||||||
_forcePreviewClear = false;
|
_forcePreviewClear = false;
|
||||||
|
WatchListView.BlazingFast = true;
|
||||||
WatchListView.ItemCount = _searches.Count;
|
WatchListView.ItemCount = _searches.Count;
|
||||||
|
WatchListView.BlazingFast = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue