mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-02 04:05:56 +00:00
Disable focusing tiles in spotlight layout
This commit is contained in:
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]
|
||||
|
||||
Reference in New Issue
Block a user