Commit b36b40ca40c1a380e74ac5384ef40938323307a8

Authored by Sato Hiroyuki
1 parent 85c468ec

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 190 l.spaces << space
191 191 # Also add space to parent
192 192 l.parents(@map).each do |parent|
193   - if parent.space > 0
  193 + if 0 < parent.space && parent.space < space
194 194 parent.spaces << space
195 195 end
196 196 end
... ...