فهرست منبع

#315 circular cursor for selection pen

circular17 3 سال پیش
والد
کامیت
8f4bb5c5a6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lazpaint/uimageview.pas

+ 1 - 1
lazpaint/uimageview.pas

@@ -999,7 +999,7 @@ begin
   virtualScreenPenCursorBefore := FPenCursorVisible;
   virtualScreenPenCursorBefore := FPenCursorVisible;
   FPenCursorVisible := false;
   FPenCursorVisible := false;
   wantedCursor := LazPaintInstance.ToolManager.Cursor;
   wantedCursor := LazPaintInstance.ToolManager.Cursor;
-  if LazPaintInstance.ToolManager.GetCurrentToolType in[ptPen,ptEraser,ptBrush,ptClone] then UseVSPenCursor;
+  if LazPaintInstance.ToolManager.GetCurrentToolType in[ptPen,ptEraser,ptBrush,ptClone,ptSelectPen] then UseVSPenCursor;
   if not PtInRect(WorkArea, Point(X,Y)) then wantedCursor:= crDefault;
   if not PtInRect(WorkArea, Point(X,Y)) then wantedCursor:= crDefault;
   if FPaintBox.Cursor <> wantedCursor then FPaintBox.Cursor := wantedCursor;
   if FPaintBox.Cursor <> wantedCursor then FPaintBox.Cursor := wantedCursor;
   if virtualScreenPenCursorBefore or FPenCursorVisible then
   if virtualScreenPenCursorBefore or FPenCursorVisible then