Skip to content

Commit 823c2ea

Browse files
committed
[DAPS-14xx] Add todo
1 parent ba3e3a1 commit 823c2ea

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

web/static/components/provenance/panel_graph.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,19 +1123,20 @@ function GraphPanel(a_id, a_frame, a_parent) {
11231123
}),
11241124
)
11251125
.append("g")
1126-
.on("dblclick", function () {
1127-
// Clear selection when double-clicking on empty space
1128-
if (sel_node) {
1129-
d3.select(".highlight").attr("class", "select hidden");
1130-
sel_node = null;
1131-
sel_node_id = null;
1132-
panel_info.showSelectedInfo(null);
1133-
a_parent.updateBtnState();
1134-
}
1135-
1136-
// Stop event propagation
1137-
d3.event.stopPropagation();
1138-
});
1126+
// TODO add deselect selected node highlight on double-click
1127+
// .on("dblclick", function () {
1128+
// // Clear selection when double-clicking on empty space
1129+
// if (sel_node) {
1130+
// d3.select(".highlight").attr("class", "select hidden");
1131+
// sel_node = null;
1132+
// sel_node_id = null;
1133+
// panel_info.showSelectedInfo(null);
1134+
// a_parent.updateBtnState();
1135+
// }
1136+
//
1137+
// // Stop event propagation
1138+
// d3.event.stopPropagation();
1139+
// });
11391140

11401141
defineArrowMarkerDeriv(svg);
11411142
defineArrowMarkerComp(svg);

0 commit comments

Comments
 (0)