mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:26:30 +00:00
small improvements
This commit is contained in:
@@ -16,7 +16,6 @@ public class DetectionControl : Border
|
||||
|
||||
private readonly Grid _grid;
|
||||
private readonly DetectionLabelPanel _detectionLabelPanel;
|
||||
//private readonly Label _detectionLabel;
|
||||
public readonly Canvas DetectionLabelContainer;
|
||||
|
||||
public TimeSpan Time { get; set; }
|
||||
@@ -154,6 +153,7 @@ public class DetectionControl : Border
|
||||
Name = name,
|
||||
};
|
||||
rect.MouseDown += (sender, args) => _resizeStart(sender, args);
|
||||
rect.MouseUp += (sender, args) => { (sender as UIElement)?.ReleaseMouseCapture(); };
|
||||
return rect;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user