Fix bug of network graph(#2847) and trivial code clean up.

This commit is contained in:
Sato Hiroyuki 2013-01-31 17:29:36 +09:00
parent 9da7b2e8d8
commit 4133221200
2 changed files with 16 additions and 9 deletions

View file

@ -122,7 +122,7 @@
var cx = offsetX + 20 * c.time
, cy = offsetY + 10 * c.space
, psy = offsetY + 10 * ps;
if (c.space == this.commits[i].space) {
if (c.space == this.commits[i].space && c.space == ps) {
r.path([
"M", x, y,
"L", cx, cy