tastudio: ColorZone for branches too.

This commit is contained in:
feos 2015-09-23 20:03:26 +03:00
parent 1175a86123
commit 60555db3cc
1 changed files with 14 additions and 1 deletions

View File

@ -98,8 +98,21 @@ namespace BizHawk.Client.EmuHawk
private void QueryItemBkColor(int index, InputRoll.RollColumn column, ref Color color)
{
var record = Tastudio.CurrentTasMovie[GetBranch(index).Frame];
if (index == CurrentBranch)
color = TAStudio.CurrentFrame_InputLog; // SystemColors.HotTrack;
color = TAStudio.CurrentFrame_InputLog; // SystemColors.HotTrack;
else if (record.Lagged.HasValue)
{
if (record.Lagged.Value)
{
color = TAStudio.LagZone_InputLog;
}
else
{
color = TAStudio.GreenZone_InputLog;
}
}
// Highlight the branch cell a little, if hovering over it
if (BranchView.CurrentCellIsDataCell &&