fix: Lock the grid when the UI is locked (#2489)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent 881ba51e9f
commit 090138a01e
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1,4 +1,5 @@
@use 'basic-block.scss';
@use 'locked.scss';
@keyframes warning-pulse {
0% {
@@ -46,6 +47,12 @@ advanced-camera-card-live-carousel[triggered] {
animation: none;
border-color: var(--advanced-camera-card-transmitting-border-color);
}
// While locked, dim and disable interaction on the non-selected cameras in the
// grid so input stays on the selected camera (e.g. during a call).
:host([locked]) advanced-camera-card-live-carousel[unselected] {
@include locked.style;
}
advanced-camera-card-live-carousel[selected] {
--trigger-border-color-base: var(
--advanced-camera-card-trigger-border-color-base,