You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
Annotate hacky math
This commit is contained in:
@@ -222,6 +222,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user