Project

General

Profile

Defect #9824 » fix-revisiongraph-width.patch

Patch to fix revision graph width - Daniel Ritz, 2012-03-14 12:12

View differences:

public/javascripts/revision_graph.js
52 52

  
53 53
            var textbox = t.getBBox();
54 54
            t.translate(textbox.width / 2, textbox.height / -3);
55

  
56
            var reqWidth = x+5 + textbox.width;
57
            if (reqWidth > r.width) {
58
              r.setSize(reqWidth, r.height);
59
            }
55 60
         }
56 61
        for (var j = 0, jj = commits[i].parents.length; j < jj; j++) {
57 62
            var c = comms[commits[i].parents[j][0]];
(5-5/5)