Changeset 193 for branches/highdpi/LocalPlayer/Diagram.pas
- Timestamp:
- May 7, 2020, 7:05:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Diagram.pas
r178 r193 293 293 if WindowMode = wmModal then 294 294 begin { center on screen } 295 Left := ( Screen.Width - Width) div 2;296 Top := ( Screen.Height - Height) div 2;295 Left := (DpiScreen.Width - Width) div 2; 296 Top := (DpiScreen.Height - Height) div 2; 297 297 end; 298 298 OffscreenPaint;
Note:
See TracChangeset
for help on using the changeset viewer.