diff --git a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Helpers/ColorHelper.cs b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Helpers/ColorHelper.cs index 8bb8ad6..bed8bb6 100644 --- a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Helpers/ColorHelper.cs +++ b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Helpers/ColorHelper.cs @@ -40,7 +40,7 @@ internal static string GetColorName(Color pixelColor, List colo internal static bool IsDarkColor(Color color) { var luminance = 0.2126 * color.R + 0.7152 * color.G + 0.0722 * color.B; - return luminance < 0.179; + return luminance < 150; } } } diff --git a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Properties/AssemblyInfo.cs b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Properties/AssemblyInfo.cs index af173cc..229de6f 100644 --- a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Properties/AssemblyInfo.cs +++ b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("StreamDeck.ColorPicker")] +[assembly: AssemblyTitle("Color Picker")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("StreamDeck.ColorPicker")] -[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyProduct("Color Picker for Stream Deck")] +[assembly: AssemblyCopyright("Copyright © Victor Grycuk 2020")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.3.0.0")] +[assembly: AssemblyFileVersion("1.3.0.0")] diff --git a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/StreamDeck.ColorPicker.csproj b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/StreamDeck.ColorPicker.csproj index 2eb064a..92a1caa 100644 --- a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/StreamDeck.ColorPicker.csproj +++ b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/StreamDeck.ColorPicker.csproj @@ -32,6 +32,9 @@ prompt 4 + + colorpicker.ico + ..\packages\CommandLineParser.2.7.82\lib\net461\CommandLine.dll @@ -102,6 +105,7 @@ + PreserveNewest diff --git a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/colorpicker.ico b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/colorpicker.ico new file mode 100644 index 0000000..1796352 Binary files /dev/null and b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/colorpicker.ico differ diff --git a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/manifest.json b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/manifest.json index 98bcf41..87ad0f1 100644 --- a/StreamDeck.ColorPicker/StreamDeck.ColorPicker/manifest.json +++ b/StreamDeck.ColorPicker/StreamDeck.ColorPicker/manifest.json @@ -21,7 +21,7 @@ "Description": "Colorblind Helper & Color Picker for Stream Deck.\nShows a color's name, its RGB or hexadecimal value.", "Icon": "Images/pluginIcon", "URL": "https://github.com/VictorGrycuk/streamdeck-color-picker", - "Version": "1.2", + "Version": "1.3", "CodePath": "StreamDeck.ColorPicker", "Category": "Color Picker", "CategoryIcon": "Images/categoryIcon",