1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 10:08:31 +00:00

Small code-issue fixes

This commit is contained in:
Darth Affe 2019-03-31 12:16:07 +02:00
parent 5d374db9ef
commit dabfbdf0a4
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,6 @@
using System; // ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedMember.Global
using System;
namespace RGB.NET.Core namespace RGB.NET.Core
{ {
@ -80,8 +82,7 @@ namespace RGB.NET.Core
(double cHue, double cSaturation, double cValue) = color.GetHSV(); (double cHue, double cSaturation, double cValue) = color.GetHSV();
return Create(color.A, cHue * hue, cSaturation * saturation, cValue * value); return Create(color.A, cHue * hue, cSaturation * saturation, cValue * value);
} }
/// <summary> /// <summary>
/// Divides the given HSV values to this color. /// Divides the given HSV values to this color.
/// </summary> /// </summary>

View File

@ -1,4 +1,6 @@
using System; // ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedMember.Global
using System;
namespace RGB.NET.Core namespace RGB.NET.Core
{ {