diff --git a/src/components/views/rooms/RoomSublist2.tsx b/src/components/views/rooms/RoomSublist2.tsx index 548166815f..e20a36d6ce 100644 --- a/src/components/views/rooms/RoomSublist2.tsx +++ b/src/components/views/rooms/RoomSublist2.tsx @@ -222,6 +222,7 @@ export default class RoomSublist2 extends React.Component { handles = []; // no handles, we're at a minimum } + // TODO: Remove Math hacks let nVisible = Math.floor(layout.visibleTiles); if (localStorage.getItem("mx_rl_mathfn")) { nVisible = Math[localStorage.getItem("mx_rl_mathfn")](layout.visibleTiles);