Skip to content

Commit

Permalink
Fixed doc-comment mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthAffe committed Jul 21, 2024
1 parent cfbbdc6 commit 1396e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RGB.NET.Presets/Extensions/HPPHExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ namespace RGB.NET.Presets.Extensions;
public static class HPPHExtensions
{
/// <summary>
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Color"/>.
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Core.Color"/>.
/// </summary>
/// <param name="color">The color to convert.</param>
/// <returns>The converted color.</returns>
public static Color ToColor(this IColor color) => new(color.A, color.R, color.G, color.B);

/// <summary>
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Color"/>.
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Core.Color"/>.
/// </summary>
/// <param name="color">The color to convert.</param>
/// <typeparam name="T">The color-type of the HPPH color.</typeparam>
Expand Down

0 comments on commit 1396e97

Please sign in to comment.