projects
/
brackets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust spacing
[brackets.git]
/
frontend
/
index.js
diff --git
a/frontend/index.js
b/frontend/index.js
index
07d0d2d
..
6385dbe
100644
(file)
--- a/
frontend/index.js
+++ b/
frontend/index.js
@@
-76,7
+76,7
@@
const drawBranchFrom = (ctx, x, y, xDist, yDist, left, up) => {
}
const drawArtistOnCtx = (ctx, artistName, x, y) => {
}
const drawArtistOnCtx = (ctx, artistName, x, y) => {
- ctx.font = "
1em
sans serif";
+ ctx.font = "
20px
sans serif";
ctx.strokeText(artistName, x, y);
}
ctx.strokeText(artistName, x, y);
}
@@
-137,8
+137,8
@@
const drawBracket = (canvas, artists, genre) => {
for (let group = 1; group <= groups; group++) {
drawMatchup(
canvas,
for (let group = 1; group <= groups; group++) {
drawMatchup(
canvas,
- mid_x + (Math.pow(-1, group) * (rect_width /
4
)),
- mid_y + (Math.pow(-1, Math.floor(group / 2)) * (rect_height * 2)),
+ mid_x + (Math.pow(-1, group) * (rect_width /
6
)),
+ mid_y + (Math.pow(-1, Math.floor(group / 2)) * (rect_height * 2
.5
)),
0,
rounds,
Math.pow(-1, group),
0,
rounds,
Math.pow(-1, group),