Skip to content

Commit 12d3a1b

Browse files
committed
Lower max number of characters before truncating title of dual QR slide
1 parent 4e2366a commit 12d3a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/Checkin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export default class Checkin extends Command {
361361

362362
// Event title
363363
const title =
364-
event.title.substring(0, 36) === event.title ? event.title : event.title.substring(0, 36).concat('...');
364+
event.title.substring(0, 22) === event.title ? event.title : event.title.substring(0, 22).concat('...');
365365
const titleSize = rescaleFont(title.length, 8, 70);
366366
context.textAlign = 'center';
367367
context.font = `${titleSize}pt 'DM Sans'`;

0 commit comments

Comments
 (0)