Status Update
Comments
ad...@google.com <ad...@google.com>
si...@google.com <si...@google.com> #2
this is related to upstream/downstream.
i agree that it should return the correct right value. (similar to the code in here:
Not 100% if upstream/downstream applies to character boundaries, therefore if we should accept a parameter upstream which is true by default.
Description
Version used: androidx.compose.ui:ui:1.0.2
AndroidParagraph.getBoundingBox use layout.getPrimaryHorizontal(offset + 1) to get the right val.
if the character is at the end of the line, the right val will be the left val of next line