Skip to content

Commit a6c49d4

Browse files
authored
Clean up nodes.tsx
1 parent 402ccc6 commit a6c49d4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/features/dfdElements/nodes.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,6 @@ export abstract class DfdNodeImpl extends DynamicChildrenNode implements WithEdi
154154

155155
if (this.color) style["--color"] = this.color;
156156

157-
/*
158-
if (this.annotations!) {
159-
for (const a of this.annotations) {
160-
if (a.message.startsWith("Constraint")) {
161-
style["--color"] = a.color!;
162-
this.color = a.color!;
163-
return style;
164-
}
165-
}
166-
if (this.annotations!.length > 0)
167-
style["--color"] = DfdNodeImpl.HIGHLIGHTED_COLOR;
168-
}*/
169-
170157
return style;
171158
}
172159

0 commit comments

Comments
 (0)