diff options
author | crupest <crupest@outlook.com> | 2020-04-24 00:03:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-24 00:03:16 +0800 |
commit | 75ff8a6a05afd02aaadf7e3049b0a0e305241182 (patch) | |
tree | 5444bbb3ef80036cc38a827b8ccf03f48b310728 /demos | |
parent | 922d7f6c96f81a33538900f8a8992a5b6f640874 (diff) | |
download | cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.gz cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.bz2 cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.zip |
...
Diffstat (limited to 'demos')
-rw-r--r-- | demos/input_method/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index a3ac1b96..74654a2d 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -92,7 +92,7 @@ int main() { gsl::narrow_cast<int>(committed_text.size()); const auto cursor_lefttop = - text_layout->TextSingleRect(cursor_pos, false); + text_layout->TextSinglePoint(cursor_pos, false); painter->FillRectangle(Rect{cursor_lefttop.x, cursor_lefttop.y + anchor_y, 3, font->GetFontSize()}, |