|
@@ -383,11 +383,8 @@ begin
|
|
if not IsLoadingFileList then
|
|
if not IsLoadingFileList then
|
|
begin
|
|
begin
|
|
|
|
|
|
- if (Shift=[ssCtrl])and(gFonts[dcfMain].Size < gFonts[dcfMain].MaxValue) then
|
|
|
|
|
|
+ if (Shift=[ssCtrl])and(frmMain.Commands.MainFontZoomIn()) then
|
|
begin
|
|
begin
|
|
- gFonts[dcfMain].Size:=gFonts[dcfMain].Size+1;
|
|
|
|
- frmMain.FrameLeft.UpdateView;
|
|
|
|
- frmMain.FrameRight.UpdateView;
|
|
|
|
Handled:=True;
|
|
Handled:=True;
|
|
Exit;
|
|
Exit;
|
|
end;
|
|
end;
|
|
@@ -414,11 +411,8 @@ begin
|
|
if not IsLoadingFileList then
|
|
if not IsLoadingFileList then
|
|
begin
|
|
begin
|
|
|
|
|
|
- if (Shift=[ssCtrl])and(gFonts[dcfMain].Size > gFonts[dcfMain].MinValue) then
|
|
|
|
|
|
+ if (Shift=[ssCtrl])and(frmMain.Commands.MainFontZoomOut()) then
|
|
begin
|
|
begin
|
|
- gFonts[dcfMain].Size:=gFonts[dcfMain].Size-1;
|
|
|
|
- frmMain.FrameLeft.UpdateView;
|
|
|
|
- frmMain.FrameRight.UpdateView;
|
|
|
|
Handled:=True;
|
|
Handled:=True;
|
|
Exit;
|
|
Exit;
|
|
end;
|
|
end;
|