mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:06:31 +00:00
fix editing annotation
This commit is contained in:
@@ -36,6 +36,7 @@ public class Config
|
||||
public List<string> ImageFormats { get; set; }
|
||||
|
||||
public ThumbnailConfig ThumbnailConfig { get; set; }
|
||||
public int? LastSelectedExplorerClass { get; set; }
|
||||
}
|
||||
|
||||
public class WindowConfig
|
||||
|
||||
@@ -17,6 +17,7 @@ public class FormState
|
||||
|
||||
public int CurrentVolume { get; set; } = 100;
|
||||
public ObservableCollection<AnnotationResult> AnnotationResults { get; set; } = [];
|
||||
public WindowsEnum ActiveWindow { get; set; }
|
||||
|
||||
public string GetTimeName(TimeSpan ts) => $"{VideoName}_{ts:hmmssf}";
|
||||
|
||||
@@ -38,4 +39,4 @@ public class FormState
|
||||
}
|
||||
catch (Exception e) { return null; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Azaion.Annotator.DTO;
|
||||
|
||||
public enum WindowsEnum
|
||||
{
|
||||
None = 0,
|
||||
Main = 10,
|
||||
DatasetExplorer = 20
|
||||
}
|
||||
Reference in New Issue
Block a user