Merge pull request #4932 from matrix-org/travis/room-list/invisible-show-more

Potential solution to supporting transparent 'show more' buttons
This commit is contained in:
Bruno Windels 2020-07-09 14:43:20 +00:00 committed by GitHub
commit f58a0a7538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 21 deletions

View file

@ -109,10 +109,6 @@ export class ListLayout {
return this.tilesToPixels(Math.min(maxTiles, n)) + padding;
}
public tilesWithResizerBoxFactor(n: number): number {
return n + RESIZER_BOX_FACTOR;
}
public tilesWithPadding(n: number, paddingPx: number): number {
return this.pixelsToTiles(this.tilesToPixelsWithPadding(n, paddingPx));
}