mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Core - Fixed logical layouts not being picked correctly
This commit is contained in:
parent
6b7de952ba
commit
2efb3feff7
@ -63,7 +63,7 @@ public class ArtemisLedLayout
|
||||
|
||||
// Prefer a matching layout or else a default layout (that has no name)
|
||||
LayoutCustomLedDataLogicalLayout logicalLayout = LayoutCustomLedData.LogicalLayouts
|
||||
.OrderBy(l => l.Name == artemisDevice.LogicalLayout)
|
||||
.OrderByDescending(l => l.Name == artemisDevice.LogicalLayout)
|
||||
.ThenBy(l => l.Name == null)
|
||||
.First();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user