mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:56:30 +00:00
make right annotation list more vivid
fix creation new anns bug
This commit is contained in:
@@ -123,7 +123,7 @@ public partial class MainWindow
|
||||
|
||||
ReloadFiles();
|
||||
if (_config.AnnotationClasses.Count == 0)
|
||||
_config.AnnotationClasses.Add(new AnnotationClass(0));
|
||||
_config.AnnotationClasses.Add(new AnnotationClass{Id = 0});
|
||||
|
||||
AnnotationClasses = new ObservableCollection<AnnotationClass>(_config.AnnotationClasses);
|
||||
LvClasses.ItemsSource = AnnotationClasses;
|
||||
@@ -299,7 +299,7 @@ public partial class MainWindow
|
||||
if (File.Exists(imgPath))
|
||||
{
|
||||
Editor.Background = new ImageBrush { ImageSource = await imgPath.OpenImage() };
|
||||
_formState.BackgroundShown = true;
|
||||
_formState.BackgroundTime = time;
|
||||
videoSize = Editor.RenderSize;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user