Parcourir la source

glassesWindow maximes to bounds not to workingArea

Alexander Hendrich il y a 10 ans
Parent
commit
b1c6226d65
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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)