Skip to content

Commit 148ca1f

Browse files
authored
Merge pull request #49 from acmucsd/asform-qr
Lower max number of characters before truncating title of dual QR slide
2 parents 5cfc81d + 12d3a1b commit 148ca1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/Checkin.ts

Lines changed: 1 addition & 1 deletion
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)