Tastudio - Marker list - fix rather messed up background coloring logic

This commit is contained in:
adelikat 2014-10-18 16:34:41 +00:00
parent 27ca9bc1a3
commit 6b3c631702
1 changed files with 4 additions and 2 deletions

View File

@ -54,8 +54,10 @@ namespace BizHawk.Client.EmuHawk
}
else if (index < Tastudio.CurrentMovie.InputLogLength)
{
var record = Tastudio.CurrentMovie[index];
if (record.HasState && record.Lagged.HasValue)
var marker = Tastudio.CurrentMovie.Markers[index];
var record = Tastudio.CurrentMovie[marker.Frame];
if (record.Lagged.HasValue)
{
if (record.Lagged.Value)
{