mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Applied some C#12 stuff
This commit is contained in:
1 parent
0444730aca
commit
d85f1559b3
105 files changed
+329
-422
No files matched your search
@@ -165,7 +165,7 @@ internal static class LedMappings
|
||||
|
||||
internal static LedMapping<CorsairLedId> CreateMapping(IEnumerable<CorsairLedId> ids, LedId referenceId)
|
||||
{
|
||||
LedMapping<CorsairLedId> mapping = new();
|
||||
LedMapping<CorsairLedId> mapping = [];
|
||||
int counter = 0;
|
||||
foreach (CorsairLedId corsairLedId in ids.OrderBy(x => x))
|
||||
mapping.Add(referenceId + counter++, corsairLedId);
|
||||
|
||||
Reference in new issue
Block a user