scm: fix revision graph height is hard-coded (#9832)
Contributed by Jakob Skjerning. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8795 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2ef86a2f0a
commit
d2216bfe54
|
@ -3,7 +3,9 @@ function revisionGraph(holder, commits_hash) {
|
||||||
|
|
||||||
var LEFT_PADDING = 3,
|
var LEFT_PADDING = 3,
|
||||||
TOP_PADDING = 10,
|
TOP_PADDING = 10,
|
||||||
XSTEP = YSTEP = 20;
|
XSTEP = 20;
|
||||||
|
|
||||||
|
var YSTEP = $$('tr.changeset')[0].getHeight();
|
||||||
|
|
||||||
var commits_by_scmid = $H(commits_hash),
|
var commits_by_scmid = $H(commits_hash),
|
||||||
commits = commits_by_scmid.values();
|
commits = commits_by_scmid.values();
|
||||||
|
|
Loading…
Reference in New Issue