mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Merge pull request #4907 from matrix-org/travis/room-list/raise
Decrease default visible rooms down to 5
This commit is contained in:
commit
d04bcdfa15
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ export class ListLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
public get defaultVisibleTiles(): number {
|
public get defaultVisibleTiles(): number {
|
||||||
// 10 is what "feels right", and mostly subject to design's opinion.
|
// This number is what "feels right", and mostly subject to design's opinion.
|
||||||
return 10 + RESIZER_BOX_FACTOR;
|
return 5 + RESIZER_BOX_FACTOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setVisibleTilesWithin(diff: number, maxPossible: number) {
|
public setVisibleTilesWithin(diff: number, maxPossible: number) {
|
||||||
|
|
Loading…
Reference in a new issue