mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 15:09:05 +00:00
display 1 more level top/down of rings at intro
This commit is contained in:
parent
9f283912e9
commit
3af65a2904
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ const Rings = (props: RingsProps) => {
|
||||||
if (props.activateAllRings) {
|
if (props.activateAllRings) {
|
||||||
return range(1, getLevelLimit(props.site) + 1);
|
return range(1, getLevelLimit(props.site) + 1);
|
||||||
} else {
|
} else {
|
||||||
const start = Math.max(0, level - 2);
|
const start = Math.max(0, level - 3);
|
||||||
const end = Math.min(getLevelLimit(props.site) + 1, level + 2);
|
const end = Math.min(getLevelLimit(props.site) + 1, level + 3);
|
||||||
|
|
||||||
return range(start, end);
|
return range(start, end);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue