Tastudio - fix mouse up logic, only navigate if in bool painting mode

This commit is contained in:
adelikat 2019-12-06 21:19:35 -06:00
parent 04798f0e40
commit 21a0b65305
1 changed files with 11 additions and 6 deletions

View File

@ -833,15 +833,20 @@ namespace BizHawk.Client.EmuHawk
}
else
{
if (!string.IsNullOrWhiteSpace(_startBoolDrawColumn))
{
// If painting up, we have altered frames without loading states (for smoothness)
// So now we have to ensure that all the edited frames are invalidated
if (CurrentTasMovie.LastEditedFrame < Emulator.Frame)
{
GoToFrame(CurrentTasMovie.LastEditedFrame);
}
}
ClearLeftMouseStates();
}
// If painting up, we have altered frames without loading states (for smoothness)
// So now we have to ensure that all the edited frames are invalidated
if (CurrentTasMovie.LastEditedFrame < Emulator.Frame)
{
GoToFrame(CurrentTasMovie.LastEditedFrame);
}
DoTriggeredAutoRestoreIfNeeded();
}