mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Fix invisible rows taking up space at bottom of plane
This commit is contained in:
parent
fb44fc8349
commit
bcaff20313
1 changed files with 11 additions and 3 deletions
|
@ -1254,9 +1254,17 @@ export function createPlane(
|
|||
) : null}
|
||||
</StickyVue>
|
||||
<SpacerVue height="60px" />
|
||||
{features.map((row, i) =>
|
||||
i in displays ? render(displays[i]) : renderRow(...row)
|
||||
)}
|
||||
{features
|
||||
.slice(
|
||||
0,
|
||||
features.findIndex(
|
||||
(row, i) =>
|
||||
i > 0 &&
|
||||
i % 2 === 0 &&
|
||||
!(features[i - 1][0] as Treasure).earned.value
|
||||
)
|
||||
)
|
||||
.map((row, i) => (i in displays ? render(displays[i]) : renderRow(...row)))}
|
||||
{render(modifiersModal)}
|
||||
</>
|
||||
)),
|
||||
|
|
Loading…
Reference in a new issue