Commit b36b40ca40c1a380e74ac5384ef40938323307a8
1 parent
85c468ec
Exists in
master
and in
4 other branches
Fix minor bug about line overlap.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/network/graph.rb
@@ -190,7 +190,7 @@ module Network | @@ -190,7 +190,7 @@ module Network | ||
190 | l.spaces << space | 190 | l.spaces << space |
191 | # Also add space to parent | 191 | # Also add space to parent |
192 | l.parents(@map).each do |parent| | 192 | l.parents(@map).each do |parent| |
193 | - if parent.space > 0 | 193 | + if 0 < parent.space && parent.space < space |
194 | parent.spaces << space | 194 | parent.spaces << space |
195 | end | 195 | end |
196 | end | 196 | end |