mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:36:30 +00:00
add nth frame to ai recognition to config
This commit is contained in:
@@ -132,7 +132,7 @@ public class AnnotatorEventHandler(
|
||||
mainWindow.BlinkHelp(HelpTexts.HelpTextsDict[HelpTextEnum.AnnotationHelp]);
|
||||
if (formState.BackgroundTime.HasValue)
|
||||
{
|
||||
mainWindow.Editor.Background = new SolidColorBrush(Color.FromArgb(1, 0, 0, 0));
|
||||
mainWindow.Editor.ResetBackground();
|
||||
formState.BackgroundTime = null;
|
||||
}
|
||||
break;
|
||||
@@ -213,6 +213,7 @@ public class AnnotatorEventHandler(
|
||||
if (mainWindow.LvFiles.SelectedItem == null)
|
||||
return;
|
||||
var mediaInfo = (MediaFileInfo)mainWindow.LvFiles.SelectedItem;
|
||||
mainWindow.Editor.ResetBackground();
|
||||
|
||||
formState.CurrentMedia = mediaInfo;
|
||||
mediaPlayer.Stop();
|
||||
@@ -250,7 +251,7 @@ public class AnnotatorEventHandler(
|
||||
if (formState.BackgroundTime.HasValue)
|
||||
{
|
||||
//no need to save image, it's already there, just remove background
|
||||
mainWindow.Editor.Background = new SolidColorBrush(Color.FromArgb(1, 0, 0, 0));
|
||||
mainWindow.Editor.ResetBackground();
|
||||
formState.BackgroundTime = null;
|
||||
|
||||
//next item
|
||||
|
||||
Reference in New Issue
Block a user