Changeset 520 for trunk/Start.pas


Ignore:
Timestamp:
Jan 6, 2024, 9:33:35 AM (4 months ago)
Author:
chronos
Message:
  • Modified: Use Floor in ScaleFromNative to avoid getting out of range values. Incorrect pixels visible in bottom part of minimap.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r514 r520  
    873873
    874874    S := '';
    875     if MiniMap.Mode = mmPicture then
    876     begin
     875    if MiniMap.Mode = mmPicture then begin
    877876      BitBltCanvas(Canvas, xMini + 2, yMini + 2, MiniMap.Size.X * 2, MiniMap.Size.Y,
    878877        MiniMap.Bitmap.Canvas, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.