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;
|
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]
|
||||||
|
|||||||
Reference in New Issue
Block a user