summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiteshjha2016-06-01 12:13:13 +0530
committerjiteshjha2016-06-01 12:13:13 +0530
commitcb73936f9586808ea99ab0c18aabc4e3006317bd (patch)
treee798bc3095665717682bab20309a35199b36482a
parentf7a53679252887d006c340fc6a9d63d2c7c4fa6f (diff)
downloadxcos-on-web-cb73936f9586808ea99ab0c18aabc4e3006317bd.tar.gz
xcos-on-web-cb73936f9586808ea99ab0c18aabc4e3006317bd.tar.bz2
xcos-on-web-cb73936f9586808ea99ab0c18aabc4e3006317bd.zip
Removal of TODO
-rw-r--r--index.html3
1 files changed, 0 insertions, 3 deletions
diff --git a/index.html b/index.html
index a106310..2024b32 100644
--- a/index.html
+++ b/index.html
@@ -1155,7 +1155,6 @@
// Sets the terminal point of an edge if we're moving one of the endpoints
if (this.graph.getModel().isEdge(clone.cell)) {
- // TODO: Only set this if the target or source terminal is an edge
clone.cell.geometry.setTerminalPoint(point, this.isSource);
} else {
clone.cell.geometry.setTerminalPoint(null, this.isSource);
@@ -1258,7 +1257,6 @@
}
// Adds the first point
- // TODO: Should move along connected segment
var pt = pts[0];
if (pt == null && source != null) {
@@ -1292,7 +1290,6 @@
// Adds the last point
pt = pts[pts.length - 1];
- // TODO: Should move along connected segment
if (pt == null && target != null) {
pt = new mxPoint(state.view.getRoutingCenterX(target), state.view.getRoutingCenterY(target));
}