|
@@ -265,6 +265,8 @@ namespace PDF_Master.Views.PropertyPanel.AnnotPanel
|
|
|
{
|
|
|
Closed.Invoke(sender, EventArgs.Empty);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
protected override void OnMouseDown(MouseButtonEventArgs e)
|
|
@@ -418,11 +420,19 @@ namespace PDF_Master.Views.PropertyPanel.AnnotPanel
|
|
|
{
|
|
|
if (GetPDFViewer != null)
|
|
|
{
|
|
|
+
|
|
|
if (GetCurrentAnnot != null)
|
|
|
+ {
|
|
|
GetPDFViewer.RemovePageAnnot(GetCurrentAnnot.PageIndex, GetCurrentAnnot.AnnotIndex);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
// Closed.Invoke(sender, EventArgs.Empty);
|
|
|
CloseText_MouseUp(this, null);
|
|
|
+ if (GetPDFViewer.ToolManager != null)
|
|
|
+ {
|
|
|
+ GetPDFViewer.ToolManager.DisableStickyCreate = false;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|