duplicate scale to the top

This commit is contained in:
gluap 2021-12-19 00:31:24 +01:00 committed by Paul Bienkowski
parent 6158589b6f
commit f1f7ff1976

View file

@ -93,6 +93,13 @@ function LayerSidebar({
) : null}
</>
)}
{showRoads && (
<>
<List.Item>
<ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} />
</List.Item>
</>
)}
<Divider />
<List.Item>
<Checkbox
@ -107,7 +114,7 @@ function LayerSidebar({
<Header as="h4">Event points</Header>
</label>
</List.Item>
{(showEvents || showRoads) && (
{showEvents && (
<>
<List.Item>
<ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} />