Add custom hashcode to SolidBrush.
This commit is contained in:
parent
34720970ff
commit
1a1e761326
@ -1,4 +1,5 @@
|
||||
using System.Drawing;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Dashboard.Drawing
|
||||
{
|
||||
@ -22,6 +23,11 @@ namespace Dashboard.Drawing
|
||||
{
|
||||
Color = color;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return HashCode.Combine(Kind, Color);
|
||||
}
|
||||
}
|
||||
|
||||
public class SolidBrushExtension : DrawExtension
|
||||
|
Loading…
Reference in New Issue
Block a user