File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ public Rectangle BottomRightQuarter()
235
235
#region Multiple screens
236
236
public Rectangle NextScreen ( Rectangle window )
237
237
{
238
- Rectangle nextScreenBounds = this . GetNextScreen ( ) . Bounds ;
238
+ Rectangle nextScreenBounds = this . GetNextScreen ( ) . WorkingArea ;
239
239
return new Rectangle (
240
240
nextScreenBounds . X + ( ( nextScreenBounds . Width - window . Width ) / 2 ) ,
241
241
nextScreenBounds . Y + ( ( nextScreenBounds . Height - window . Height ) / 2 ) ,
@@ -246,7 +246,7 @@ public Rectangle NextScreen(Rectangle window)
246
246
247
247
public Rectangle PreviousScreen ( Rectangle window )
248
248
{
249
- Rectangle previousScreenBounds = this . GetPreviousScreen ( ) . Bounds ;
249
+ Rectangle previousScreenBounds = this . GetPreviousScreen ( ) . WorkingArea ;
250
250
return new Rectangle (
251
251
previousScreenBounds . X + ( previousScreenBounds . Width - window . Width ) / 2 ,
252
252
previousScreenBounds . Y + ( previousScreenBounds . Height - window . Height ) / 2 ,
You can’t perform that action at this time.
0 commit comments