Telegram-iOS/submodules/Display
isaac b1aab0839c LinkHighlightingNode: ceil instead of floor for stair-step radii
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>
2026-05-02 11:46:38 +02:00
..
Source LinkHighlightingNode: ceil instead of floor for stair-step radii 2026-05-02 11:46:38 +02:00
.gitignore Add 'submodules/Display/' from commit '7bd11013ea' 2019-06-11 18:44:37 +01:00
.gitmodules Add 'submodules/Display/' from commit '7bd11013ea' 2019-06-11 18:44:37 +01:00
BUILD Remove linkopts 2023-08-25 00:07:31 +04:00