Changeset 620 for trunk/LocalPlayer


Ignore:
Timestamp:
Sep 15, 2024, 5:34:07 PM (2 months ago)
Author:
chronos
Message:
  • Modified: Do not use Screen Width and Height values for Offscreen bitmap size initialization to improve multi monitor support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r619 r620  
    35073507
    35083508  MainFormKeyDown := FormKeyDown;
    3509   BaseWin.CreateOffscreen(Offscreen);
     3509  BaseWin.CreateOffscreen(Offscreen, Width, Height);
    35103510
    35113511  // define which menu settings to save
     
    82978297  MiniFrame, MaxMapWidth: Integer;
    82988298begin
    8299   BaseWin.CreateOffscreen(Offscreen);
     8299  BaseWin.CreateOffscreen(Offscreen, Width, Height);
    83008300  SmallScreen := Width < 1024;
    83018301  with MainMap do begin
Note: See TracChangeset for help on using the changeset viewer.