mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 17:56:31 +00:00
fix editing non-timed annotations
This commit is contained in:
@@ -14,7 +14,7 @@ public class AnnotationControl : Border
|
||||
|
||||
private readonly Grid _grid;
|
||||
private readonly TextBlock _classNameLabel;
|
||||
public TimeSpan Time { get; set; }
|
||||
public TimeSpan? Time { get; set; }
|
||||
|
||||
private AnnotationClass _annotationClass = null!;
|
||||
public AnnotationClass AnnotationClass
|
||||
@@ -41,7 +41,7 @@ public class AnnotationControl : Border
|
||||
}
|
||||
}
|
||||
|
||||
public AnnotationControl(AnnotationClass annotationClass, TimeSpan time, Action<object, MouseButtonEventArgs> resizeStart)
|
||||
public AnnotationControl(AnnotationClass annotationClass, TimeSpan? time, Action<object, MouseButtonEventArgs> resizeStart)
|
||||
{
|
||||
Time = time;
|
||||
_resizeStart = resizeStart;
|
||||
|
||||
Reference in New Issue
Block a user