Browse Source

improve tray icon color

tags/3.2
everyx 8 years ago
parent
commit
22d081f72e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      shadowsocks-csharp/View/MenuViewController.cs

+ 3
- 3
shadowsocks-csharp/View/MenuViewController.cs View File

@@ -156,15 +156,15 @@ namespace Shadowsocks.View
{
if (!enabled)
{
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, 234, 67, 53));
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, color.R, 0, 0));
}
else if (global)
{
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, 52, 168, 83));
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, 0, color.G, 0));
}
else
{
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, 251, 188, 5));
iconCopy.SetPixel(x, y, Color.FromArgb(color.A, color.R, color.G, 0));
}
}
else


Loading…
Cancel
Save