fix: only update CurrentInputPort if it has changed

This commit is contained in:
Andrew Welker
2024-05-24 16:13:21 -05:00
parent effefc939c
commit 35e0662b27

View File

@@ -29,6 +29,8 @@ namespace PepperDash.Essentials.Devices.Common.Displays
protected set protected set
{ {
if (_currentInputPort == value) return;
_currentInputPort = value; _currentInputPort = value;
InputChanged?.Invoke(this, _currentInputPort); InputChanged?.Invoke(this, _currentInputPort);