From 658424efa0fe852fb228a5e65da3c40224eb19c9 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 21 Dec 2021 11:57:26 -0800 Subject: [PATCH] Disable focusing tiles in spotlight layout --- src/Room.jsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Room.jsx b/src/Room.jsx index 9fe8ab0..ccd064b 100644 --- a/src/Room.jsx +++ b/src/Room.jsx @@ -433,15 +433,7 @@ function InRoomView({ return tile; }); } else { - setLayout("spotlight"); - - return tiles.map((tile) => { - if (tile === focusedTile) { - return { ...tile, presenter: true }; - } - - return { ...tile, presenter: false }; - }); + return tiles; } }, [layout, setLayout]