Tastudio - fix pause button, and implement mouse middle click as pause toggling
This commit is contained in:
parent
c6cb0c2c06
commit
2332f9605c
|
@ -159,6 +159,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TasView_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Middle)
|
||||
{
|
||||
TogglePause();
|
||||
return;
|
||||
}
|
||||
|
||||
if (TasView.PointedCell.Row.HasValue && !string.IsNullOrEmpty(TasView.PointedCell.Column))
|
||||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
|
|
|
@ -333,7 +333,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public void TogglePause()
|
||||
{
|
||||
GlobalWin.MainForm.PauseEmulator();
|
||||
GlobalWin.MainForm.TogglePause();
|
||||
}
|
||||
|
||||
public void GoToNextFrame()
|
||||
|
|
Loading…
Reference in New Issue