Browse Source

#300 sticky mouse click

circular17 3 years ago
parent
commit
3eaa8bfff8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lazpaint/dialog/filter/umotionblur.pas

+ 1 - 0
lazpaint/dialog/filter/umotionblur.pas

@@ -245,6 +245,7 @@ end;
 procedure TFMotionBlur.PaintBox1MouseMove(Sender: TObject; Shift: TShiftState;
   X, Y: Integer);
 begin
+  if not (ssLeft in Shift) then selectingAngle:= false;
   PaintBoxMouseMovePos := Point(X,Y);
   if InPaintBoxMouseMove then Exit;
   InPaintBoxMouseMove := True;