diff --git a/rsconcept/frontend/src/dialogs/DlgShowAST.tsx b/rsconcept/frontend/src/dialogs/DlgShowAST.tsx index 3206fcda..8e257c1e 100644 --- a/rsconcept/frontend/src/dialogs/DlgShowAST.tsx +++ b/rsconcept/frontend/src/dialogs/DlgShowAST.tsx @@ -53,11 +53,19 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) { const handleHoverOut = useCallback(() => setHoverID(undefined), []); return ( - - + + -
+ {!hoverNode ? expression : null} {hoverNode ? (
@@ -66,8 +74,8 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) { {expression.slice(hoverNode.finish)}
) : null} -
-
+ +