Skip to content

fix: prevent subtitle truncation in banner, hud, and alert#2

Merged
patro85 merged 1 commit into
masterfrom
fix/subtitle-wrap
Jun 1, 2026
Merged

fix: prevent subtitle truncation in banner, hud, and alert#2
patro85 merged 1 commit into
masterfrom
fix/subtitle-wrap

Conversation

@patro85

@patro85 patro85 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

What

Adds .lineLimit(nil) + .fixedSize(horizontal: false, vertical: true) to the subtitle Text in all three layouts — banner, hud, and alert — so long subtitles wrap instead of being truncated with .

Why

Long subtitles were ellipsized. Reported upstream in elai950#61 and elai950#67.

Credit

Based on @arslankaleem7229's PR elai950#106, which only patched the banner layout. This extends the same fix to hud and alert for consistency.

Verification

swift build passes.

🤖 Generated with Claude Code

Long subtitles were getting cut off / ellipsized instead of wrapping.
Apply `.lineLimit(nil)` + `.fixedSize(horizontal: false, vertical: true)`
to the subtitle Text in all three layouts (banner, hud, alert) so they
wrap to as many lines as needed.

Extends the original fix from arslankaleem7229 (elai950#106),
which only covered the banner layout, to hud and alert as well.

Fixes long-subtitle truncation reported in elai950#61, elai950#67.

Co-Authored-By: arslankaleem7229 <arslankaleem7229@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@patro85 patro85 merged commit 232a498 into master Jun 1, 2026
@patro85 patro85 deleted the fix/subtitle-wrap branch June 1, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants