From 12d3a1b24f74d4538ec5ad0f90bbb4b519dbf961 Mon Sep 17 00:00:00 2001 From: skyflaren Date: Thu, 27 Feb 2025 14:04:24 -0800 Subject: [PATCH] Lower max number of characters before truncating title of dual QR slide --- src/commands/Checkin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/Checkin.ts b/src/commands/Checkin.ts index 736d6a3..4cbd948 100644 --- a/src/commands/Checkin.ts +++ b/src/commands/Checkin.ts @@ -361,7 +361,7 @@ export default class Checkin extends Command { // Event title const title = - event.title.substring(0, 36) === event.title ? event.title : event.title.substring(0, 36).concat('...'); + event.title.substring(0, 22) === event.title ? event.title : event.title.substring(0, 22).concat('...'); const titleSize = rescaleFont(title.length, 8, 70); context.textAlign = 'center'; context.font = `${titleSize}pt 'DM Sans'`;