OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85c468e
)
Fix minor bug about line overlap.
author
Sato Hiroyuki
<sathiroyuki@gmail.com>
Thu, 25 Apr 2013 12:53:30 +0000
(21:53 +0900)
committer
Sato Hiroyuki
<sathiroyuki@gmail.com>
Thu, 25 Apr 2013 20:53:40 +0000
(20:53 +0000)
app/models/network/graph.rb
patch
|
blob
|
history
diff --git
a/app/models/network/graph.rb
b/app/models/network/graph.rb
index
ea7d188
..
2707283
100644
(file)
--- 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