Ignore:
Timestamp:
Sep 15, 2024, 10:04:45 PM (4 days ago)
Author:
chronos
Message:
  • Modified: Show windows by default on primary screen if multiple monitors present.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Draft.pas

    r558 r622  
    485485  yView := yView0 - Cut;
    486486
    487   if WindowMode = wmModal then
    488   begin { center on screen }
    489     Left := (Screen.Width - Template.Width) div 2;
    490     Top := (Screen.Height - (Template.Height - Cut)) div 2;
    491   end;
     487  if WindowMode = wmModal then CenterToScreen(Template.Width, Template.Height - Cut);
    492488
    493489  SetDomain(Domain);
Note: See TracChangeset for help on using the changeset viewer.