From d220c33e5703dd30b57a7ed4e0cee4998655b711 Mon Sep 17 00:00:00 2001 From: Thibaut Broggi Date: Mon, 6 Nov 2017 11:01:06 +0100 Subject: [PATCH] Increase bottom bar height by 1px --- srv.js | 2 +- static/canvas.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srv.js b/srv.js index 0decb31..e1afb36 100755 --- a/srv.js +++ b/srv.js @@ -121,7 +121,7 @@ app.get('/generate.png', function (req, res) { // Add footer ctx.fillStyle = 'white'; - ctx.fillRect(0, height * 0.85, width, height * 0.15); + ctx.fillRect(0, height * 0.84, width, height * 0.16); ctx.fill(); ctx.font = '12pt FiraSans'; ctx.fillStyle = '#497ed5'; diff --git a/static/canvas.js b/static/canvas.js index dce6079..17620fc 100644 --- a/static/canvas.js +++ b/static/canvas.js @@ -65,7 +65,7 @@ let draw = function() { // Add footer ctx.fillStyle = 'white'; - ctx.fillRect(0, height * 0.85, width, height * 0.15); + ctx.fillRect(0, height * 0.85 - 1, width, height * 0.15 + 1); ctx.fill(); ctx.font = '12pt FiraSans'; ctx.fillStyle = '#497ed5'; -- GitLab