diff --git a/src/renderer/components/Toolbar/AnalysisToolbar.tsx b/src/renderer/components/Toolbar/AnalysisToolbar.tsx index 7e58227..10b473c 100644 --- a/src/renderer/components/Toolbar/AnalysisToolbar.tsx +++ b/src/renderer/components/Toolbar/AnalysisToolbar.tsx @@ -420,6 +420,100 @@ export function AnalysisToolbar(): JSX.Element { ) : ( <> + + + {annotations.length > 0 && ( + + )} + + {analyzeOpen && analyzeButtonRef.current && createPortal( + (() => { + const rect = analyzeButtonRef.current!.getBoundingClientRect() + return ( +
+ + + + + + + + +
+ ) + })(), + document.body + )} + - - {annotations.length > 0 && ( - - )} - - {analyzeOpen && analyzeButtonRef.current && createPortal( - (() => { - const rect = analyzeButtonRef.current!.getBoundingClientRect() - return ( -
- - - - - - - - -
- ) - })(), - document.body - )} )}