fix inference UI and annotation saving

This commit is contained in:
Alex Bezdieniezhnykh
2025-01-30 12:33:24 +02:00
parent 62623b7123
commit e7afa96a0b
6 changed files with 47 additions and 163 deletions
@@ -127,8 +127,11 @@ public class AnnotatorEventHandler(
break;
case PlaybackControlEnum.Pause:
mediaPlayer.Pause();
if (mainWindow.IsInferenceNow)
mainWindow.FollowAI = false;
if (!mediaPlayer.IsPlaying)
mainWindow.BlinkHelp(HelpTexts.HelpTextsDict[HelpTextEnum.AnnotationHelp]);
if (formState.BackgroundTime.HasValue)
{
mainWindow.Editor.ResetBackground();