Disable focusing tiles in spotlight layout
This commit is contained in:
parent
ab73a351f8
commit
658424efa0
1 changed files with 1 additions and 9 deletions
10
src/Room.jsx
10
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]
|
||||
|
|
Loading…
Reference in a new issue