Indicate Valve status with top/bottom lines
Test / Run tests (push) Successful in 16s

This commit is contained in:
2026-10-13 15:31:40 +02:00
parent 49bdd5d4c0
commit c3f4acaf07
3 changed files with 21 additions and 0 deletions
@@ -39,6 +39,13 @@ namespace PamhagenSysCtrl.Helpers.Pipeline {
IsLocked && WantOpen && IsOpen ? PamhagenBrushes.Green :
Highlight ?? (isHovering ? Brushes.LightGray : Brushes.DarkGray);
}
if (IsOpen) {
_topLine?.Points[1] = _middlePoints.Open.Top;
_bottomLine?.Points[1] = _middlePoints.Open.Bottom;
} else {
_topLine?.Points[1] = _middlePoints.Closed.Top;
_bottomLine?.Points[1] = _middlePoints.Closed.Bottom;
}
}
}
}