Commit f0d92bf7 authored by tmaruyama's avatar tmaruyama

scm: fix revision graph height is hard-coded (#9832)

Contributed by Jakob Skjerning.

git-svn-id: https://svn.redmine.org/redmine/trunk@8795 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b5863f62
......@@ -3,7 +3,9 @@ function revisionGraph(holder, commits_hash) {
var LEFT_PADDING = 3,
TOP_PADDING = 10,
XSTEP = YSTEP = 20;
XSTEP = 20;
var YSTEP = $$('tr.changeset')[0].getHeight();
var commits_by_scmid = $H(commits_hash),
commits = commits_by_scmid.values();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment