tastudio: ColorZone for branches too.
This commit is contained in:
parent
1175a86123
commit
60555db3cc
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue