mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Viewer - zoom image by mouse wheel
(cherry picked from commit 884720a573)
This commit is contained in:
parent
5787eea73d
commit
e4b509073c
1 changed files with 2 additions and 2 deletions
|
|
@ -1170,13 +1170,13 @@ end;
|
|||
procedure TfrmViewer.ImageMouseWheelDown(Sender: TObject; Shift: TShiftState;
|
||||
MousePos: TPoint; var Handled: Boolean);
|
||||
begin
|
||||
if ssCtrl in Shift then cm_Zoom(['0.9']);
|
||||
if ssCtrl in Shift then ZoomImage(0.9);
|
||||
end;
|
||||
|
||||
procedure TfrmViewer.ImageMouseWheelUp(Sender: TObject; Shift: TShiftState;
|
||||
MousePos: TPoint; var Handled: Boolean);
|
||||
begin
|
||||
if ssCtrl in Shift then cm_Zoom(['1.1']);
|
||||
if ssCtrl in Shift then ZoomImage(1.1);
|
||||
end;
|
||||
|
||||
procedure TfrmViewer.miPenClick(Sender: TObject);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue