Fix minor bug about line overlap.

This commit is contained in:
Sato Hiroyuki 2013-04-25 21:53:30 +09:00
parent 85c468ec48
commit b36b40ca40
1 changed files with 1 additions and 1 deletions

View File

@ -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