diff options
| author | Michael <[email protected]> | 2017-04-29 18:59:20 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-29 18:59:20 -0400 |
| commit | 12490dec7deaa972cb29166095a7ef0c1f005541 (patch) | |
| tree | ff4979daf8dfd7881899ade68903d757c6e828d4 /ShiftOS.WinForms/WindowBorder.cs | |
| parent | 7293e2f07f99603c1f63826d705ce4179d70c663 (diff) | |
| download | shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.tar.gz shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.tar.bz2 shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.zip | |
Various intro fixes.
Diffstat (limited to 'ShiftOS.WinForms/WindowBorder.cs')
| -rw-r--r-- | ShiftOS.WinForms/WindowBorder.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/WindowBorder.cs b/ShiftOS.WinForms/WindowBorder.cs index 49298dd..25c7639 100644 --- a/ShiftOS.WinForms/WindowBorder.cs +++ b/ShiftOS.WinForms/WindowBorder.cs @@ -257,6 +257,7 @@ namespace ShiftOS.WinForms { this.DoubleBuffered = true; this.TransparencyKey = LoadedSkin.SystemKey; + pnlcontents.BackColor = this.TransparencyKey; pnltitle.Height = LoadedSkin.TitlebarHeight; pnltitle.BackColor = LoadedSkin.TitleBackgroundColor; pnltitle.BackgroundImage = GetImage("titlebar"); @@ -504,7 +505,9 @@ namespace ShiftOS.WinForms private void pnlright_MouseDown(object sender, MouseEventArgs e) { if (Shiftorium.UpgradeInstalled("resizable_windows")) + { resizing = true; + } } private void pnlright_MouseMove(object sender, MouseEventArgs e) @@ -518,6 +521,7 @@ namespace ShiftOS.WinForms private void pnlright_MouseUp(object sender, MouseEventArgs e) { resizing = false; + pnlcontents.Show(); } private void pnlleft_MouseMove(object sender, MouseEventArgs e) |
