mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: gThumbSize should be used in zoomInSmallPreview() in ThumbFileView
This commit is contained in:
parent
907d25467f
commit
17c092540d
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ var
|
|||
procedure zoomInSmallPreview( var width: Integer; var height: Integer );
|
||||
begin
|
||||
// if the thumbnail grid cell is already small, don't zoom in
|
||||
if (aRect.Width<gIconsSize) or (aRect.Height<gIconsSize) then
|
||||
if (gThumbSize.Width<gIconsSize) or (gThumbSize.Height<gIconsSize) then
|
||||
Exit;
|
||||
|
||||
// if the generated preview is large enough, don't zoom in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue