Changeset 622 for trunk/LocalPlayer/MessgEx.pas
- Timestamp:
- Sep 15, 2024, 10:04:45 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/MessgEx.pas
r570 r622 169 169 0: 170 170 begin 171 Left := (Screen.Width - Width) div 2;172 Top := (Screen.Height - Height) div 2 - MapCenterUp;171 Left := Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - Width) div 2; 172 Top := Screen.PrimaryMonitor.Top + (Screen.PrimaryMonitor.Height - Height) div 2 - MapCenterUp; 173 173 end; 174 174 1: 175 175 begin 176 Left := (Screen.Width - Width) div 4;177 Top := (Screen.Height - Height) * 2 div 3 - MapCenterUp;176 Left := Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - Width) div 4; 177 Top := Screen.PrimaryMonitor.Top + (Screen.PrimaryMonitor.Height - Height) * 2 div 3 - MapCenterUp; 178 178 end; 179 179 -1: 180 180 begin 181 Left := (Screen.Width - Width) div 4;182 Top := (Screen.Height - Height) div 3 - MapCenterUp;181 Left := Screen.PrimaryMonitor.Left + (Screen.PrimaryMonitor.Width - Width) div 4; 182 Top := Screen.PrimaryMonitor.Top + (Screen.PrimaryMonitor.Height - Height) div 3 - MapCenterUp; 183 183 end; 184 184 end;
Note:
See TracChangeset
for help on using the changeset viewer.