mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Countdown screen no longer opens full screen in debug mode
This commit is contained in:
parent
58fa54c995
commit
5f9a007e95
@ -116,8 +116,13 @@ namespace HeliosDisplayManagement.UIForms
|
||||
var minY = screens.Select(screen => screen.Bounds.Y).Concat(new[] {0}).Min();
|
||||
var maxY = screens.Select(screen => screen.Bounds.Height + screen.Bounds.Y).Concat(new[] {0}).Max();
|
||||
|
||||
#if !DEBUG
|
||||
Size = new Size(maxX + Math.Abs(minX), maxY + Math.Abs(minY));
|
||||
Location = new Point(minX, minY);
|
||||
#else
|
||||
Size = new Size((int)((maxX + Math.Abs(minX)) * 0.8d), (int)((maxY + Math.Abs(minY)) * 0.8d));
|
||||
Location = new Point(minX + (int)(Size.Width / 8d), minY + (int)(Size.Height / 8d));
|
||||
#endif
|
||||
|
||||
_progressPositions.Clear();
|
||||
_progressPositions.AddRange(
|
||||
@ -128,8 +133,8 @@ namespace HeliosDisplayManagement.UIForms
|
||||
}
|
||||
#if !DEBUG
|
||||
TopMost = true;
|
||||
#endif
|
||||
Activate();
|
||||
#endif
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user