diff options
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()}, |