Commit 730b66bb authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Comment unused code

parent 8434474c
...@@ -61,19 +61,19 @@ export default function () { ...@@ -61,19 +61,19 @@ export default function () {
drag<SVGRectElement, SelectedChromosomeData>() drag<SVGRectElement, SelectedChromosomeData>()
.on("start", (d: SelectedChromosomeData) => { .on("start", (d: SelectedChromosomeData) => {
if (d.eventHandler) { // if (d.eventHandler) {
d.eventHandler.dragstarted(this); // d.eventHandler.dragstarted(this);
} // }
}) })
.on("drag", d => { .on("drag", d => {
if (d.eventHandler) { // if (d.eventHandler) {
d.eventHandler.dragged(); // d.eventHandler.dragged();
} // }
}) })
.on("end", d => { .on("end", d => {
if (d.eventHandler) { // if (d.eventHandler) {
d.eventHandler.dragended(this); // d.eventHandler.dragended(this);
} // }
}) })
); );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment