diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index ed72d0a..775c986 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -121,13 +121,6 @@ export default function App(): JSX.Element { />
- - - - - - - - - @@ -294,11 +283,68 @@ export function AnalysisToolbar(): JSX.Element { Clear )} + + {analyzeOpen && analyzeButtonRef.current && createPortal( + (() => { + const rect = analyzeButtonRef.current!.getBoundingClientRect() + return ( +
+ + + + + +
+ ) + })(), + document.body + )} )}
+