Skip to content

Commit

Permalink
Keep it generic.
Browse files Browse the repository at this point in the history
  • Loading branch information
kike-garbo committed Oct 11, 2024
1 parent cc10c97 commit 6b7d002
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public DataCulling Culling
public virtual DataCulling CullingMask => DataCulling.Nulls | DataCulling.Invalids | DataCulling.Duplicates | DataCulling.Empty;

static readonly Dictionary<Type, Bitmap> TypeIcons = new Dictionary<Type, Bitmap>();
protected virtual Bitmap GetItemIcon(IGH_Goo value, Size size)
protected virtual Bitmap GetItemIcon(T value, Size size)
{
var type = value.GetType();
if (TypeIcons.TryGetValue(type, out var icon))
Expand Down

0 comments on commit 6b7d002

Please sign in to comment.