Skip to content

Commit 09260eb

Browse files
committed
updated conditional rendering of ax legend
1 parent 2289685 commit 09260eb

File tree

1 file changed

+4
-2
lines changed
  • src/app/components/StateRoute/AxMap

1 file changed

+4
-2
lines changed

src/app/components/StateRoute/AxMap/Ax.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,13 @@ export default function AxTree(props) {
488488

489489
{/* ax Legend */}
490490
<div>
491-
<button id='axLegendButton' style={{position: 'absolute'}} onClick={() => dispatch(renderAxLegend())}></button>
492-
493491
{ axLegendButtonClicked ?
494492
<AxLegend /> : ''
495493
}
494+
495+
<button id='axLegendButton' onClick={() => dispatch(renderAxLegend())}>
496+
Generate Ax Tree Legend
497+
</button>
496498
</div>
497499

498500
</div>

0 commit comments

Comments
 (0)