From 90802ccb5599ef2af0f1529fd7cbfeaef177b58d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 29 Jan 2017 20:45:32 -0500 Subject: 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. --- ShiftOS.WinForms/Applications/Artpad.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Applications/Artpad.cs') 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() -- cgit v1.2.3