Changeset 496 for trunk/MiniMap.pas
- Timestamp:
- Dec 18, 2023, 10:31:54 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MiniMap.pas
r488 r496 121 121 if LoadGraphicFile(Bitmap, ImageFileName, [gfNoError]) then 122 122 begin 123 if Bitmap. width div 2 > MaxWidthMapLogo then124 Bitmap. width := MaxWidthMapLogo * 2;125 if Bitmap. height > MaxHeightMapLogo then126 Bitmap. height := MaxHeightMapLogo;127 Size.X := Bitmap. width div 2;128 Size.Y := Bitmap. height;123 if Bitmap.Width div 2 > MaxWidthMapLogo then 124 Bitmap.Width := MaxWidthMapLogo * 2; 125 if Bitmap.Height > MaxHeightMapLogo then 126 Bitmap.Height := MaxHeightMapLogo; 127 Size.X := Bitmap.Width div 2; 128 Size.Y := Bitmap.Height; 129 129 end else begin 130 130 Mode := mmNone;
Note:
See TracChangeset
for help on using the changeset viewer.