소스 검색

glassesWindow maximes to bounds not to workingArea

Alexander Hendrich 10 년 전
부모
커밋
b1c6226d65
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      bbiwarg/Output/GlassesOutput/GlassesWindow.cs

+ 2 - 2
bbiwarg/Output/GlassesOutput/GlassesWindow.cs

@@ -58,8 +58,8 @@ namespace bbiwarg.Output.GlassesOutput
 
             //fullscreen
             FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
-            Location = new Point(screen.WorkingArea.X, screen.WorkingArea.Y);
-            Size = new Size(outputSize.Width, outputSize.Height);
+            Location = screen.Bounds.Location;
+            Size = screen.Bounds.Size;
         }
 
         protected override void OnClosing(CancelEventArgs e)