|
@@ -2659,7 +2659,7 @@ end;
|
|
|
procedure TfrmFindDlg.lsFoundedFilesMouseWheelDown(Sender: TObject;
|
|
|
Shift: TShiftState; MousePos: TPoint; var Handled: boolean);
|
|
|
begin
|
|
|
- if (Shift = [ssCtrl]) and (gFonts[dcfSearchResults].Size > gFonts[dcfSearchResults].MinValue) then
|
|
|
+ if gZoomWithCtrlWheel and (Shift = [ssCtrl]) and (gFonts[dcfSearchResults].Size > gFonts[dcfSearchResults].MinValue) then
|
|
|
begin
|
|
|
dec(gFonts[dcfSearchResults].Size);
|
|
|
lsFoundedFiles.Font.Size := gFonts[dcfSearchResults].Size;
|
|
@@ -2671,7 +2671,7 @@ end;
|
|
|
procedure TfrmFindDlg.lsFoundedFilesMouseWheelUp(Sender: TObject;
|
|
|
Shift: TShiftState; MousePos: TPoint; var Handled: boolean);
|
|
|
begin
|
|
|
- if (Shift = [ssCtrl]) and (gFonts[dcfSearchResults].Size < gFonts[dcfSearchResults].MaxValue) then
|
|
|
+ if gZoomWithCtrlWheel and (Shift = [ssCtrl]) and (gFonts[dcfSearchResults].Size < gFonts[dcfSearchResults].MaxValue) then
|
|
|
begin
|
|
|
inc(gFonts[dcfSearchResults].Size);
|
|
|
lsFoundedFiles.Font.Size := gFonts[dcfSearchResults].Size;
|