Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5a52c9b0
Commit
5a52c9b0
authored
Jan 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6038 from jvanbaarsen/fix-5767
Fix for #5767
parents
798f82f4
d5bb466f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/assets/javascripts/branch-graph.js.coffee
app/assets/javascripts/branch-graph.js.coffee
+5
-2
No files found.
app/assets/javascripts/branch-graph.js.coffee
View file @
5a52c9b0
...
...
@@ -194,11 +194,14 @@ class BranchGraph
fill
:
@
colors
[
commit
.
space
]
stroke
:
"none"
)
r
.
rect
(
@
offsetX
+
@
unitSpace
*
@
mspace
+
10
,
y
-
10
,
20
,
20
).
attr
(
fill
:
"url(
#{
commit
.
author
.
icon
}
)"
avatar_box_x
=
@
offsetX
+
@
unitSpace
*
@
mspace
+
10
avatar_box_y
=
y
-
10
r
.
rect
(
avatar_box_x
,
avatar_box_y
,
20
,
20
).
attr
(
stroke
:
@
colors
[
commit
.
space
]
"stroke-width"
:
2
)
r
.
image
(
commit
.
author
.
icon
,
avatar_box_x
,
avatar_box_y
,
20
,
20
)
r
.
text
(
@
offsetX
+
@
unitSpace
*
@
mspace
+
35
,
y
,
commit
.
message
.
split
(
"
\n
"
)[
0
]).
attr
(
"text-anchor"
:
"start"
font
:
"14px Monaco, monospace"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment