mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix: only update CurrentInputPort if it has changed
This commit is contained in:
parent
effefc939c
commit
35e0662b27
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue