aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Artpad.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-29 20:45:32 -0500
committerMichael <[email protected]>2017-01-29 20:45:32 -0500
commit90802ccb5599ef2af0f1529fd7cbfeaef177b58d (patch)
tree69355b3b25144dc55e370f9ce1d5ef09ff94aae5 /ShiftOS.WinForms/Applications/Artpad.cs
parent11f838ea2340b50a7899cf9fb2569b0826aef001 (diff)
downloadshiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.tar.gz
shiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.tar.bz2
shiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.zip
Fix some crashes and UI bugs
Audio manager crashed after loading a second song Color Picker and ArtPad palette entries were not appearing properly. Fonts in Shifter could not have decimal sizes.
Diffstat (limited to 'ShiftOS.WinForms/Applications/Artpad.cs')
-rw-r--r--ShiftOS.WinForms/Applications/Artpad.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Artpad.cs b/ShiftOS.WinForms/Applications/Artpad.cs
index 71a5c1a..6f147ed 100644
--- a/ShiftOS.WinForms/Applications/Artpad.cs
+++ b/ShiftOS.WinForms/Applications/Artpad.cs
@@ -54,6 +54,7 @@ namespace ShiftOS.WinForms.Applications
try
{
InitializeComponent();
+
}
catch (Exception ex)
{
@@ -1851,7 +1852,11 @@ namespace ShiftOS.WinForms.Applications
public void OnLoad()
{
-
+ foreach (Control ctrl in flowcolours.Controls)
+ {
+ ctrl.Tag = "keepbg";
+ ctrl.BackColor = Color.Black;
+ }
}
public void OnSkinLoad()