Browse Source

#230 Right-click on the switch color button

circular17 3 years ago
parent
commit
69b998d0ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lazpaint/maintoolbar.inc

+ 1 - 1
lazpaint/maintoolbar.inc

@@ -1120,7 +1120,7 @@ end;
 procedure TFMain.Image_SwapColorsMouseDown(Sender: TObject; Button: TMouseButton;
   Shift: TShiftState; X, Y: Integer);
 begin
-  SwitchColors;
+  if Button = mbLeft then SwitchColors;
 end;
 
 procedure TFMain.SpinEdit_ToleranceChange(Sender: TObject; AByUser: boolean);