mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Node editor - Added node collection pin add/remove
Node editor - Added first static value node
This commit is contained in:
1 parent
2907b86174
commit
d9d237e0eb
36 files changed
+575
-188
No files matched your search
@@ -43,6 +43,10 @@ namespace Artemis.Core.Services
|
||||
if (match != null)
|
||||
return match;
|
||||
|
||||
// Objects represent an input that can take any type, these are hardcoded white
|
||||
if (type == typeof(object))
|
||||
return new TypeColorRegistration(type, new SKColor(255, 255, 255, 255), Constants.CorePlugin);
|
||||
|
||||
// Come up with a random color based on the type name that should be the same each time
|
||||
MD5 md5Hasher = MD5.Create();
|
||||
byte[] hashed = md5Hasher.ComputeHash(Encoding.UTF8.GetBytes(type.FullName!));
|
||||
|
||||
Reference in new issue
Block a user