Device properties - UI polish (the shiny kind)

Conditions - Open existing condition path on click
This commit is contained in:
Robert committed 2021-03-11 00:44:46 +01:00
1 parent d5d1211649
commit 98b9770250
9 files changed
+263 -135

No files matched your search

+2 -1
View File
@@ -197,7 +197,7 @@ namespace Artemis.Core.Services
public ArtemisLayout ApplyBestDeviceLayout(ArtemisDevice device)
{
ArtemisLayout layout;
// Configured layout path takes precedence over all other options
if (device.CustomLayoutPath != null)
{
@@ -239,6 +239,7 @@ namespace Artemis.Core.Services
public void ApplyDeviceLayout(ArtemisDevice device, ArtemisLayout layout, bool createMissingLeds, bool removeExessiveLeds)
{
device.ApplyLayout(layout, createMissingLeds, removeExessiveLeds);
UpdateLedGroup();
}
public ArtemisDevice? GetDevice(IRGBDevice rgbDevice)