Explorar o código

#315 circular cursor for selection pen

circular17 %!s(int64=3) %!d(string=hai) anos
pai
achega
8f4bb5c5a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lazpaint/uimageview.pas

+ 1 - 1
lazpaint/uimageview.pas

@@ -999,7 +999,7 @@ begin
   virtualScreenPenCursorBefore := FPenCursorVisible;
   FPenCursorVisible := false;
   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 FPaintBox.Cursor <> wantedCursor then FPaintBox.Cursor := wantedCursor;
   if virtualScreenPenCursorBefore or FPenCursorVisible then