Tastudio - remove unnecesary updates in GoToFrame(), since tastudio and other tools are already updated by other methods it calls
This commit is contained in:
parent
efb44305a4
commit
83e685cfa1
|
@ -463,7 +463,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
case "Show Cursor":
|
||||
if (Tools.IsLoaded<TAStudio>())
|
||||
{
|
||||
Tools.TAStudio.SetVisibleIndex();
|
||||
Tools.TAStudio.SetVisibleFrame();
|
||||
Tools.TAStudio.RefreshDialog();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -35,7 +35,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
// Get as close as we can then emulate there
|
||||
StartAtNearestFrameAndEmulate(frame, fromLua, fromRewinding);
|
||||
|
||||
MaybeFollowCursor();
|
||||
}
|
||||
else // Emulate to a future frame
|
||||
|
@ -64,9 +63,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
StartSeeking(frame);
|
||||
}
|
||||
}
|
||||
|
||||
RefreshDialog();
|
||||
UpdateOtherTools();
|
||||
}
|
||||
|
||||
public void GoToPreviousFrame()
|
||||
|
|
|
@ -1228,7 +1228,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
if (!lagLog.WasLagged.Value && isLag)
|
||||
{ // (it shouldn't need to rewind, since the inserted input wasn't polled)
|
||||
{
|
||||
// (it shouldn't need to rewind, since the inserted input wasn't polled)
|
||||
CurrentTasMovie.ChangeLog.AddInputBind(Emulator.Frame - 1, false, $"Bind Input; Insert {Emulator.Frame - 1}");
|
||||
bool wasRecording = CurrentTasMovie.ChangeLog.IsRecording;
|
||||
CurrentTasMovie.ChangeLog.IsRecording = false;
|
||||
|
@ -1290,8 +1291,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
ShowColor = false,
|
||||
Font = TasView.Font
|
||||
};
|
||||
var result = fontDialog.ShowDialog();
|
||||
if (result != DialogResult.Cancel)
|
||||
if (fontDialog.ShowDialog() != DialogResult.Cancel)
|
||||
{
|
||||
TasView.Font = TasViewFont = fontDialog.Font;
|
||||
TasView.Refresh();
|
||||
|
|
Loading…
Reference in New Issue