mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
Bugfix: Fix COlourHSL.
This commit is contained in:
parent
786f765f05
commit
2e12e55297
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace SBRL.Utilities
|
namespace SBRL.Utilities
|
||||||
{
|
{
|
||||||
class ColourHSL
|
public class ColourHSL
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A random number generator.Used to generate random colours in RandomSaturated().
|
/// A random number generator.Used to generate random colours in RandomSaturated().
|
||||||
|
@ -139,7 +139,7 @@ namespace SBRL.Utilities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static ColourHSL RandomSaturated()
|
public static ColourHSL RandomSaturated()
|
||||||
{
|
{
|
||||||
ColourHSL result = new ColourHSL() {
|
return new ColourHSL() {
|
||||||
Hue = random.Next(0, 360),
|
Hue = random.Next(0, 360),
|
||||||
Lightness = random.Next(45, 55),
|
Lightness = random.Next(45, 55),
|
||||||
Saturation = random.Next(90, 100)
|
Saturation = random.Next(90, 100)
|
||||||
|
|
Loading…
Reference in a new issue