|
@@ -565,8 +565,11 @@ namespace ComPDFKit.Tool
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
-
|
|
|
|
cRect.left += (float)point.X;
|
|
cRect.left += (float)point.X;
|
|
|
|
+ if (e.ZoomX == 1)
|
|
|
|
+ {
|
|
|
|
+ cRect.right += (float)point.X;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if ((float)point.Y == 0)
|
|
if ((float)point.Y == 0)
|
|
{
|
|
{
|
|
@@ -575,8 +578,12 @@ namespace ComPDFKit.Tool
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
-
|
|
|
|
|
|
+
|
|
cRect.top += (float)point.Y;
|
|
cRect.top += (float)point.Y;
|
|
|
|
+ if (e.ZoomY == 1)
|
|
|
|
+ {
|
|
|
|
+ cRect.bottom += (float)point.Y;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//Original Logic
|
|
//Original Logic
|
|
@@ -1921,7 +1928,7 @@ namespace ComPDFKit.Tool
|
|
if (multiSelectedRect == null || multiSelectedRect.Children.Count == 0)
|
|
if (multiSelectedRect == null || multiSelectedRect.Children.Count == 0)
|
|
{
|
|
{
|
|
//Selection of mobile drawing logic
|
|
//Selection of mobile drawing logic
|
|
- if (e.mouseButtonEventArgs.LeftButton == MouseButtonState.Pressed&& createContentEditType == CPDFEditType.None)
|
|
|
|
|
|
+ if (e.mouseButtonEventArgs.LeftButton == MouseButtonState.Pressed && createContentEditType == CPDFEditType.None)
|
|
{
|
|
{
|
|
viewerTool.DrawMoveFrameSelect();
|
|
viewerTool.DrawMoveFrameSelect();
|
|
}
|
|
}
|