From b36b40ca40c1a380e74ac5384ef40938323307a8 Mon Sep 17 00:00:00 2001 From: Sato Hiroyuki Date: Thu, 25 Apr 2013 21:53:30 +0900 Subject: [PATCH] Fix minor bug about line overlap. --- app/models/network/graph.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb index ea7d188cc38..27072836cbb 100644 --- a/app/models/network/graph.rb +++ b/app/models/network/graph.rb @@ -190,7 +190,7 @@ module Network l.spaces << space # Also add space to parent l.parents(@map).each do |parent| - if parent.space > 0 + if 0 < parent.space && parent.space < space parent.spaces << space end end