tastudio: use VisibleRows instead of SeekingCutoffInterval.
allow SelectedIndexChanged again, just not use it in tasview. can we comment out in designers like that?
This commit is contained in:
parent
d7217df311
commit
dc18535b88
BizHawk.Client.EmuHawk
|
@ -1646,7 +1646,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (SelectedIndexChanged != null)
|
||||
{
|
||||
//SelectedIndexChanged(this, new EventArgs());
|
||||
SelectedIndexChanged(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -647,6 +647,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.SetSeekingCutoffIntervalMenuItem.Name = "SetSeekingCutoffIntervalMenuItem";
|
||||
this.SetSeekingCutoffIntervalMenuItem.Size = new System.Drawing.Size(253, 22);
|
||||
this.SetSeekingCutoffIntervalMenuItem.Text = "Set Seeking Cutoff Interval";
|
||||
this.SetSeekingCutoffIntervalMenuItem.Visible = false;
|
||||
this.SetSeekingCutoffIntervalMenuItem.Click += new System.EventHandler(this.SetSeekingCutoffIntervalMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator9
|
||||
|
@ -1149,11 +1150,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.TasView.Name = "TasView";
|
||||
this.TasView.RowCount = 0;
|
||||
this.TasView.ScrollSpeed = 1;
|
||||
this.TasView.SeekingCutoffInterval = 0;
|
||||
this.TasView.Size = new System.Drawing.Size(289, 528);
|
||||
this.TasView.TabIndex = 1;
|
||||
this.TasView.ColumnClick += new BizHawk.Client.EmuHawk.InputRoll.ColumnClickEventHandler(this.TasView_ColumnClick);
|
||||
this.TasView.ColumnRightClick += new BizHawk.Client.EmuHawk.InputRoll.ColumnClickEventHandler(this.TasView_ColumnRightClick);
|
||||
this.TasView.SelectedIndexChanged += new System.EventHandler(this.TasView_SelectedIndexChanged);
|
||||
//this.TasView.SelectedIndexChanged += new System.EventHandler(this.TasView_SelectedIndexChanged);
|
||||
this.TasView.RightMouseScrolled += new BizHawk.Client.EmuHawk.InputRoll.RightMouseScrollEventHandler(this.TasView_MouseWheel);
|
||||
this.TasView.ColumnReordered += new BizHawk.Client.EmuHawk.InputRoll.ColumnReorderedEventHandler(this.TasView_ColumnReordered);
|
||||
this.TasView.CellDropped += new BizHawk.Client.EmuHawk.InputRoll.CellDroppedEvent(this.TasView_CellDropped);
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
else
|
||||
GlobalWin.MainForm.UnpauseEmulator();
|
||||
|
||||
if (!_seekBackgroundWorker.IsBusy && diff.Value > TasView.SeekingCutoffInterval)
|
||||
if (!_seekBackgroundWorker.IsBusy && diff.Value > TasView.VisibleRows)
|
||||
_seekBackgroundWorker.RunWorkerAsync();
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
FollowCursorAlwaysScroll = false;
|
||||
FollowCursorScrollMethod = "near";
|
||||
BranchCellHoverInterval = 1;
|
||||
SeekingCutoffInterval = 2;
|
||||
SeekingCutoffInterval = 2; // unused, relying on VisibleRows is smarter
|
||||
// default to taseditor fashion
|
||||
denoteStatesWithIcons = false;
|
||||
denoteStatesWithBGColor = true;
|
||||
|
|
Loading…
Reference in New Issue