diff options
author | crupest <crupest@outlook.com> | 2020-04-23 02:00:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-23 02:00:05 +0800 |
commit | 922d7f6c96f81a33538900f8a8992a5b6f640874 (patch) | |
tree | 71bd88e931137a23d4c4fcf7a27c55859ab5b0f4 /src/ui | |
parent | f42531cc4c0f49451c4df30e4243e39581751215 (diff) | |
download | cru-922d7f6c96f81a33538900f8a8992a5b6f640874.tar.gz cru-922d7f6c96f81a33538900f8a8992a5b6f640874.tar.bz2 cru-922d7f6c96f81a33538900f8a8992a5b6f640874.zip |
...
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/render/text_render_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/render/text_render_object.cpp b/src/ui/render/text_render_object.cpp index be02f8fe..e8368480 100644 --- a/src/ui/render/text_render_object.cpp +++ b/src/ui/render/text_render_object.cpp @@ -50,7 +50,7 @@ std::vector<Rect> TextRenderObject::TextRangeRect(const TextRange& text_range) { return text_layout_->TextRangeRect(text_range); } -Point TextRenderObject::TextSingleRect(int position, bool trailing) { +Point TextRenderObject::TextSingleRect(gsl::index position, bool trailing) { return text_layout_->TextSingleRect(position, trailing); } |