Let each poll speed up or slow down the scale comments
CI / Deploy / test (push) Successful in 1m12s
CI / Deploy / deploy (push) Skipped

A new poll setting (polls.comment_speed, 50-200 %) scales the display
time of the rotating scale comments in the presentation and embed; the
duration still follows the text length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-11 12:51:08 +01:00
1 parent c1f9be2eef
commit 166cb475c6
10 files changed
+100 -6

No files matched your search

+2
View File
@@ -361,6 +361,8 @@ class PollStateService
'joinCodeFormatted' => $poll->formattedJoinCode(),
'isActive' => $poll->is_active,
'isPaused' => $poll->isPaused(),
// Factor for the rotating scale comments on stage (1 = normal, 2 = twice as fast)
'commentSpeed' => ($poll->comment_speed ?? 100) / 100,
];
}