address #3500
This commit is contained in:
parent
ef864536de
commit
bb0bd415a6
|
@ -127,7 +127,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void RecordingModeCheckbox_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
RecordingMode ^= true;
|
||||
Tastudio.WasRecording = RecordingMode; // hard reset at manual click
|
||||
Tastudio.WasRecording = RecordingMode; // hard reset at manual click and hotkey
|
||||
}
|
||||
|
||||
private void RewindButton_MouseDown(object sender, MouseEventArgs e)
|
||||
|
|
|
@ -54,14 +54,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public void ToggleReadOnly()
|
||||
{
|
||||
if (CurrentTasMovie.IsPlayingOrFinished())
|
||||
{
|
||||
TastudioRecordMode();
|
||||
}
|
||||
else if (CurrentTasMovie.IsRecording())
|
||||
{
|
||||
TastudioPlayMode();
|
||||
}
|
||||
TastudioToggleReadOnly();
|
||||
}
|
||||
|
||||
public bool WantsToControlStopMovie { get; private set; }
|
||||
|
|
|
@ -712,6 +712,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
TasPlaybackBox.RecordingMode = false;
|
||||
}
|
||||
|
||||
private void TastudioToggleReadOnly()
|
||||
{
|
||||
TasPlaybackBox.RecordingMode ^= true;
|
||||
WasRecording = TasPlaybackBox.RecordingMode; // hard reset at manual click and hotkey
|
||||
}
|
||||
|
||||
private void TastudioRecordMode()
|
||||
{
|
||||
TasPlaybackBox.RecordingMode = true;
|
||||
|
|
Loading…
Reference in New Issue