|
@@ -617,10 +617,12 @@ namespace PDF_Master.ViewModels.Tools
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- freehandArgs = PropertyPanel.LastAnnotDict[AnnotArgsType.AnnotFreehand] as FreehandAnnotArgs;
|
|
|
- freehandArgs.AnnotIndex = -1;
|
|
|
- freehandArgs.PageIndex = -1;
|
|
|
- freehandArgs.ClientRect = Rect.Empty;
|
|
|
+ FreehandAnnotArgs freehandAnnotArgs = PropertyPanel.LastAnnotDict[AnnotArgsType.AnnotFreehand] as FreehandAnnotArgs;
|
|
|
+ freehandArgs = new FreehandAnnotArgs();
|
|
|
+ freehandArgs.InkColor = freehandAnnotArgs.InkColor;
|
|
|
+ freehandArgs.Transparency = freehandAnnotArgs.Transparency;
|
|
|
+ freehandArgs.LineWidth = freehandAnnotArgs.LineWidth;
|
|
|
+ freehandArgs.LineDash = freehandAnnotArgs.LineDash;
|
|
|
}
|
|
|
|
|
|
selectedArgs = new List<AnnotHandlerEventArgs>();
|