fix: better implmentation of input select

This commit is contained in:
Neil Dorin
2024-05-10 13:16:59 -06:00
parent 8878ff7ddd
commit a11ad421f0
2 changed files with 11 additions and 32 deletions

View File

@@ -90,7 +90,12 @@ namespace PepperDash.Essentials.Devices.Common.Displays
public void Select()
{
_parent.SetInput(Key);
if (!_parent.PowerIsOnFeedback.BoolValue) _parent.PowerOn();
foreach(var input in _parent.Inputs.Items)
{
input.Value.IsSelected = input.Key == this.Key;
}
}
}
}