We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2569f63 commit a965ea4Copy full SHA for a965ea4
extensions/ql-vscode/src/view/results/graph.tsx
@@ -52,9 +52,11 @@ export function Graph({ graphData, databaseUri }: GraphProps) {
52
});
53
}
54
55
-
56
if ("fill" in d.attributes) {
57
- d.attributes.fill = d.tag === "text" ? color : backgroundColor;
+ d.attributes.fill = backgroundColor;
+ }
58
+ if (d.tag === "text") {
59
+ d.attributes.fill = color;
60
61
if ("stroke" in d.attributes) {
62
// There is no proper way to identify the element containing the graph (which we
0 commit comments