tastudio: show user text instead of timestamp in branchview
allows using as instantly visible branch names fix #646
This commit is contained in:
parent
20c6f99c24
commit
7c868e5996
|
@ -18,7 +18,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
private const string BranchNumberColumnName = "BranchNumberColumn";
|
||||
private const string FrameColumnName = "FrameColumn";
|
||||
private const string TimeColumnName = "TimeColumn";
|
||||
private const string UserTextColumnName = "TextColumn";
|
||||
|
||||
private readonly PlatformFrameRates FrameRates = new PlatformFrameRates();
|
||||
private TasMovie Movie { get { return Tastudio.CurrentTasMovie; } }
|
||||
|
@ -54,8 +54,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
},
|
||||
new InputRoll.RollColumn
|
||||
{
|
||||
Name = TimeColumnName,
|
||||
Text = "TimeStamp",
|
||||
Name = UserTextColumnName,
|
||||
Text = "UserText",
|
||||
Width = 90
|
||||
},
|
||||
});
|
||||
|
@ -81,8 +81,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
case FrameColumnName:
|
||||
text = GetBranch(index).Frame.ToString();
|
||||
break;
|
||||
case TimeColumnName:
|
||||
text = GetBranch(index).TimeStamp.ToString(@"hh\:mm\:ss\.ff");
|
||||
case UserTextColumnName:
|
||||
//text = GetBranch(index).TimeStamp.ToString(@"hh\:mm\:ss\.ff");
|
||||
text = GetBranch(index).UserText;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue