forked from jverkoey/nimbus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When determining the bounds for links in the attributedText, keep tra…
…ck of links in previous lines if they don't have any linked text after them in their respective lines. Use CGRectUnion (the smallest rectangle that contains the two source rectangles) to combine the bounds of a link in the current line with the combined bounds from previous links. This prevents duplicate announcement of the same accessibility element during VoiceOver for attributedLabel text that contains links spanning multiple lines. PiperOrigin-RevId: 529103370
- Loading branch information
1 parent
e660d27
commit 390b1ce
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters