tastudio: current branch tweaks.
- make bg color readable, and match the plaback cursor one - set last updated or added branch as current
This commit is contained in:
parent
fd8d4e4678
commit
e6fdac6923
BizHawk.Client.EmuHawk/tools/TAStudio
|
@ -52,7 +52,7 @@
|
|||
this.BookmarksBranchesGroupBox.Size = new System.Drawing.Size(198, 249);
|
||||
this.BookmarksBranchesGroupBox.TabIndex = 0;
|
||||
this.BookmarksBranchesGroupBox.TabStop = false;
|
||||
this.BookmarksBranchesGroupBox.Text = "Bookmarks / Branches";
|
||||
this.BookmarksBranchesGroupBox.Text = "Branches";
|
||||
//
|
||||
// BranchView
|
||||
//
|
||||
|
|
|
@ -98,7 +98,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void QueryItemBkColor(int index, InputRoll.RollColumn column, ref Color color)
|
||||
{
|
||||
if (index == CurrentBranch)
|
||||
color = SystemColors.HotTrack;
|
||||
color = TAStudio.CurrentFrame_InputLog; // SystemColors.HotTrack;
|
||||
|
||||
// Highlight the branch cell a little, if hovering over it
|
||||
if (BranchView.CurrentCellIsDataCell &&
|
||||
|
@ -223,6 +223,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
var branch = CreateBranch();
|
||||
Branches.Add(branch);
|
||||
BranchView.RowCount = Branches.Count;
|
||||
CurrentBranch = Branches.IndexOf(branch);
|
||||
BranchView.Refresh();
|
||||
}
|
||||
|
||||
|
@ -312,6 +313,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Branches.Insert(index, newbranch);
|
||||
|
||||
Branches.Remove(branch);
|
||||
CurrentBranch = index;
|
||||
BranchView.Refresh();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue