get_height_from_rows.diff

Jakob Skjerning, 2011-12-18 11:55

Download (562 Bytes)

View differences:

public/javascripts/revision_graph.js (working copy)
26 26
}
27 27

  
28 28
function branchGraph(holder) {
29
    var xstep = 20, ystep = 20;
29
    var xstep = 20;
30

  
31
    // Use the height of the revision rows for the difference between the dots
32
    var ystep = $$('tr.changeset')[0].getHeight();
33

  
30 34
    var ch, cw;
31 35
    cw = max_space * xstep + xstep;
32 36
    ch = max_rdmid * ystep + ystep;