Commit 498a9ce3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

more space for months names in network graph

parent a2501d15
...@@ -62,13 +62,13 @@ class BranchGraph ...@@ -62,13 +62,13 @@ class BranchGraph
cuday = 0 cuday = 0
cumonth = "" cumonth = ""
r.rect(0, 0, 30, @barHeight).attr fill: "#222" r.rect(0, 0, 40, @barHeight).attr fill: "#222"
r.rect(30, 0, 25, @barHeight).attr fill: "#444" r.rect(40, 0, 30, @barHeight).attr fill: "#444"
for day, mm in @days for day, mm in @days
if cuday isnt day[0] if cuday isnt day[0]
# Dates # Dates
r.text(40, @offsetY + @unitTime * mm, day[0]) r.text(55, @offsetY + @unitTime * mm, day[0])
.attr( .attr(
font: "12px Monaco, monospace" font: "12px Monaco, monospace"
fill: "#BBB" fill: "#BBB"
...@@ -77,7 +77,7 @@ class BranchGraph ...@@ -77,7 +77,7 @@ class BranchGraph
if cumonth isnt day[1] if cumonth isnt day[1]
# Months # Months
r.text(13, @offsetY + @unitTime * mm, day[1]) r.text(20, @offsetY + @unitTime * mm, day[1])
.attr( .attr(
font: "12px Monaco, monospace" font: "12px Monaco, monospace"
fill: "#EEE" fill: "#EEE"
......
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