Improved code for applying Borderless Window
This commit is contained in:
parent
b58e3f72f8
commit
7e91d96700
1 changed files with 4 additions and 4 deletions
|
|
@ -309,10 +309,10 @@ namespace SM.Base.Window
|
|||
WindowState = WindowState.Maximized;
|
||||
WindowBorder = WindowBorder.Hidden;
|
||||
|
||||
X = Screen.PrimaryScreen.Bounds.Left;
|
||||
Y = Screen.PrimaryScreen.Bounds.Top;
|
||||
Width = Screen.PrimaryScreen.Bounds.Width;
|
||||
Height = Screen.PrimaryScreen.Bounds.Height;
|
||||
X = 0;
|
||||
Y = 0;
|
||||
Width = DisplayDevice.Default.Width;
|
||||
Height = DisplayDevice.Default.Height;
|
||||
|
||||
break;
|
||||
case WindowFlags.ExclusiveFullscreen:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue