Skip to content

Commit

Permalink
fix(frontend): only show one tip tool text at once
Browse files Browse the repository at this point in the history
  • Loading branch information
manfredsteyer committed Sep 27, 2024
1 parent 72f00f1 commit d5dbabd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .detective/config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
{
"scopes": [
"apps/backend/src/services",
"apps/backend/src/utils",
"apps/backend/src/options",
"apps/backend/src/model",
"apps/backend/src/infrastructure"
"apps/frontend/src/app/data",
"apps/frontend/src/app/features",
"apps/frontend/src/app/model",
"apps/frontend/src/app/shell",
"apps/frontend/src/app/ui",
"apps/frontend/src/app/utils"
],
"groups": [
"apps/backend/src",
"apps/backend",
"apps/frontend/src/app",
"apps/frontend/src",
"apps/frontend",
"apps"
],
"groups": ["apps/backend/src", "apps/backend", "apps"],
"entries": [],
"filter": {
"files": [],
Expand Down
4 changes: 4 additions & 0 deletions apps/frontend/src/app/ui/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ function defineToolTipsForNodes(cy: cytoscape.Core) {
return;
}

node.on('tap', (event) => {
event.stopPropagation();
});

const nodeWithQtip = node as NodeWithQtip;
nodeWithQtip.qtip({
content: tooltip,
Expand Down

0 comments on commit d5dbabd

Please sign in to comment.