display 1 more level top/down of rings at intro

This commit is contained in:
ad044 2022-07-27 20:35:14 +04:00
parent 9f283912e9
commit 3af65a2904

View file

@ -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);
} }