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;
|
return tile;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setLayout("spotlight");
|
return tiles;
|
||||||
|
|
||||||
return tiles.map((tile) => {
|
|
||||||
if (tile === focusedTile) {
|
|
||||||
return { ...tile, presenter: true };
|
|
||||||
}
|
|
||||||
|
|
||||||
return { ...tile, presenter: false };
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[layout, setLayout]
|
[layout, setLayout]
|
||||||
|
|
Loading…
Add table
Reference in a new issue