aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-20 16:09:50 -0400
committerMichael <[email protected]>2017-05-23 18:15:05 -0400
commit6747c63e2c8c5a274846da7200c50a444b725d28 (patch)
tree07ae072a6e661f3bc7b217f0e2311acc8bd1de00 /ShiftOS.WinForms/Applications
parentfe2a1a84c3a45c88c20fcea1e6970b0644279d52 (diff)
downloadshiftos_thereturn-6747c63e2c8c5a274846da7200c50a444b725d28.tar.gz
shiftos_thereturn-6747c63e2c8c5a274846da7200c50a444b725d28.tar.bz2
shiftos_thereturn-6747c63e2c8c5a274846da7200c50a444b725d28.zip
Tiny skinning fixes.
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/Shifter.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/ShiftOS.WinForms/Applications/Shifter.cs b/ShiftOS.WinForms/Applications/Shifter.cs
index edc3703..acb64a5 100644
--- a/ShiftOS.WinForms/Applications/Shifter.cs
+++ b/ShiftOS.WinForms/Applications/Shifter.cs
@@ -814,15 +814,12 @@ namespace ShiftOS.WinForms.Applications
ControlManager.SetupControl(color);
color.BackColor = ((Color)c.Field.GetValue(LoadedSkin));
- color.BackColorChanged += (o, a) =>
- {
- c.Field.SetValue(LoadedSkin, color.BackColor);
- };
color.Click += (o, a) =>
{
- AppearanceManager.SetupDialog(new ColorPicker(color.BackColor, c.Name, new Action<Color>((col) =>
+ AppearanceManager.SetupDialog(new ColorPicker((Color)c.Field.GetValue(LoadedSkin), c.Name, new Action<Color>((col) =>
{
color.BackColor = col;
+ c.Field.SetValue(LoadedSkin, col);
CodepointValue += 300;
InvokeSetup(cat);