From b6863438111dd79f62e58156f5a1bf00e549ff6c Mon Sep 17 00:00:00 2001 From: EugeneTes Date: Thu, 19 Mar 2026 09:16:02 +0100 Subject: [PATCH] button invisibility when they are disabled --- .../Components/SingleCameraControl.razor | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/VisionBuilder.UI.Blazor/Components/SingleCameraControl.razor b/VisionBuilder.UI.Blazor/Components/SingleCameraControl.razor index 8c34ebd..00ca8cb 100644 --- a/VisionBuilder.UI.Blazor/Components/SingleCameraControl.razor +++ b/VisionBuilder.UI.Blazor/Components/SingleCameraControl.razor @@ -27,24 +27,30 @@
- - @_currentRecipeName - - - Start - - - Stop - + @if (_canSelectRecipe) + { + + @_currentRecipeName + + } + @if (_canStart) + { + + Start + + } + @if (_canStop) + { + + Stop + + } @if (_showPauseButton && _canPause) {