Browse Source

glassesWindow maximes to bounds not to workingArea

Alexander Hendrich 10 năm trước cách đây
mục cha
commit
b1c6226d65
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)