diff --git a/engine/src/flutter/third_party/txt/src/txt/paragraph.cc b/engine/src/flutter/third_party/txt/src/txt/paragraph.cc index 573f25b63a..a91aeadfa6 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paragraph.cc +++ b/engine/src/flutter/third_party/txt/src/txt/paragraph.cc @@ -955,7 +955,7 @@ std::vector Paragraph::GetRectsForRange(size_t start, Paragraph::PositionWithAffinity Paragraph::GetGlyphPositionAtCoordinate( double dx, double dy) const { - if (line_heights_.empty() || dy < 0) + if (line_heights_.empty()) return PositionWithAffinity(0, DOWNSTREAM); size_t y_index;