Ignore:
Timestamp:
Dec 3, 2023, 11:49:25 PM (12 months ago)
Author:
chronos
Message:
  • Fixed: Windows .lfm files corrected for width and height information.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/NatStat.pas

    r468 r470  
    109109  if MainTexture.Age <> AgePrepared then begin
    110110    AgePrepared := MainTexture.Age;
    111     BitBltCanvas(Back.Canvas, 0, 0, ClientWidth, ClientHeight,
    112       MainTexture.Image.Canvas, (MainTexture.Width - ClientWidth) div 2,
    113       (MainTexture.Height - ClientHeight) div 2);
    114     ImageOp_B(Back, Template, 0, 0, 0, 0, ClientWidth, ClientHeight);
     111    BitBltCanvas(Back.Canvas, 0, 0, Width, Height,
     112      MainTexture.Image.Canvas, (MainTexture.Width - Width) div 2,
     113      (MainTexture.Height - Height) div 2);
     114    ImageOp_B(Back, Template, 0, 0, 0, 0, Width, Height);
    115115  end;
    116116end;
Note: See TracChangeset for help on using the changeset viewer.