Skip to content

Commit e14e268

Browse files
committed
moved button towards the top with the linkcontrols
1 parent 7d4a72d commit e14e268

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ export default function AxTree(props) {
295295
setStepPercent={setStepPercent}
296296
/>
297297

298+
<button id='axLegendButton' onClick={() => dispatch(renderAxLegend())}>
299+
Generate Ax Tree Legend
300+
</button>
301+
298302
{/* svg references purple background */}
299303
<svg ref={containerRef} width={totalWidth} height={totalHeight + 0}>
300304
<LinearGradient id='root-gradient' from='#488689' to='#3c6e71' />
@@ -491,10 +495,6 @@ export default function AxTree(props) {
491495
{ axLegendButtonClicked ?
492496
<AxLegend /> : ''
493497
}
494-
495-
<button id='axLegendButton' onClick={() => dispatch(renderAxLegend())}>
496-
Generate Ax Tree Legend
497-
</button>
498498
</div>
499499

500500
</div>

0 commit comments

Comments
 (0)