Changeset 622 for trunk/LocalPlayer/Select.pas
- Timestamp:
- Sep 15, 2024, 10:04:45 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Select.pas
r613 r622 1545 1545 var 1546 1546 I: Integer; 1547 NewTop, NewLeft: Integer; 1547 1548 begin 1548 1549 Result := -1; … … 1643 1644 begin { center on screen } 1644 1645 if Kind = kTribe then 1645 Left := (Screen.Width - 800) * 3 div 8 + 1301646 NewLeft := Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - 800) * 3 div 8 + 130 1646 1647 else 1647 Left := (Screen.Width - Width) div 2;1648 Top := (Screen.Height - Height) div 2;1648 NewLeft := Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - Width) div 2; 1649 NewTop := Screen.PrimaryMonitor.Top + (Screen.PrimaryMonitor.Height - Height) div 2; 1649 1650 if Kind = kProject then 1650 Top := Top + 48; 1651 NewTop := NewTop + 48; 1652 BoundsRect := Bounds(NewLeft, NewTop, Width, Height); 1651 1653 end; 1652 1654
Note:
See TracChangeset
for help on using the changeset viewer.