QR code icon made smaller.

This commit is contained in:
2020-01-27 08:45:08 +01:00
parent f842e1dab5
commit cd8fb5937f

View File

@@ -68,13 +68,13 @@ export default {
const context = canvas.getContext("2d")
const centerX = canvas.width / 2
const centerY = canvas.height / 2
context.font = "40px Arial"
context.font = "30px Arial"
context.textAlign = "center"
context.textBaseline = "middle"
context.arc(centerX, centerY, 35, 0, 2 * Math.PI, false)
context.arc(centerX, centerY, 25, 0, 2 * Math.PI, false)
context.fillStyle = 'white'
context.fill()
context.lineWidth = 4
context.lineWidth = 3
context.strokeStyle = '#fe5b23'
context.stroke()
context.fillText("🍾", centerX, centerY)