mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
drawRectsImageContent's modern path computed nextRadius and prevRadius as min(outerRadius, floor(|Δx| * 0.5)). When |Δx| < 2 the floor produces 0 and the addArc call becomes a no-op, leaving an unsmoothed corner at the stair-step. Replace floor with ceil so any non-zero edge mismatch rounds up to at least 1 px. Exact-equality cases (Δx == 0) are unaffected — they take the else branch with a straight addLine. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Source | ||
| .gitignore | ||
| .gitmodules | ||
| BUILD | ||