Fixed a few pixels of the Windows 10 taskbar displaying below BabySmash window. Not tested with ClickOnce.

This commit is contained in:
FormalDeterminism 2017-05-01 18:17:48 -05:00
Родитель 98db75ec55
Коммит cf03b2db0d
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -127,6 +127,7 @@ namespace BabySmash
Width = s.WorkingArea.Width, Width = s.WorkingArea.Width,
Height = s.WorkingArea.Height, Height = s.WorkingArea.Height,
WindowStyle = WindowStyle.None, WindowStyle = WindowStyle.None,
ResizeMode = ResizeMode.NoResize,
Topmost = true, Topmost = true,
AllowsTransparency = Settings.Default.TransparentBackground, AllowsTransparency = Settings.Default.TransparentBackground,
Background = (Settings.Default.TransparentBackground ? new SolidColorBrush(Color.FromArgb(1, 0, 0, 0)) : Brushes.WhiteSmoke), Background = (Settings.Default.TransparentBackground ? new SolidColorBrush(Color.FromArgb(1, 0, 0, 0)) : Brushes.WhiteSmoke),