mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-17 21:54:54 +00:00
fix: only update CurrentInputPort if it has changed
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user