Ver código fonte

ComPDFKit.Tool(win) - 优化注释旋转鼠标光标

TangJinZhou 2 semanas atrás
pai
commit
1fdac507fe

+ 2 - 1
Demo/Examples/ComPDFKit.Tool/DrawTool/SelectedRect.cs

@@ -1,5 +1,6 @@
 using ComPDFKit.Import;
 using ComPDFKit.PDFAnnotation;
+using ComPDFKit.Tool.Help;
 using ComPDFKit.Tool.SettingParam;
 using ComPDFKit.Viewer.Helper;
 using ComPDFKitViewer;
@@ -256,7 +257,7 @@ namespace ComPDFKit.Tool.DrawTool
                 case PointControlType.Line:
                     return Cursors.SizeAll;
                 case PointControlType.Rotate:
-                     return Cursors.SizeAll;
+                    return CommonHelper.RotationCursor;
                 default:
                     return Cursors.Arrow;
             }

BIN
Demo/Examples/ComPDFKit.Tool/Resource/Cursor/Rotation.cur