Commit f8a8e10eaddbe342a460657468448252f2d3e21b
1 parent
aaa91aa3
Exists in
master
fix fullscren on windows
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
form_chooseactor.pas
@@ -104,6 +104,9 @@ begin | @@ -104,6 +104,9 @@ begin | ||
104 | btnAdmin.Visible:= False; | 104 | btnAdmin.Visible:= False; |
105 | btnPlayer.Visible:= False; | 105 | btnPlayer.Visible:= False; |
106 | BorderStyle:=bsNone; | 106 | BorderStyle:=bsNone; |
107 | + {$IFDEF WINDOWS} | ||
108 | + BoundsRect := Monitor.BoundsRect; | ||
109 | + {$ENDIF} | ||
107 | Position:=poDesigned; | 110 | Position:=poDesigned; |
108 | FormStyle:=fsNormal; | 111 | FormStyle:=fsNormal; |
109 | WindowState:=wsFullScreen; | 112 | WindowState:=wsFullScreen; |