diff options
author | crupest <crupest@outlook.com> | 2022-01-12 22:36:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-12 22:36:09 +0800 |
commit | c409caa8873e25699fc10ae435e8d123685f28f3 (patch) | |
tree | 16a0c0696f0e6d4c6856db0b7864652e2779b2b8 /src/ui/render | |
parent | 7a42d92c10a4bc686244668dd0e3f903f30f2fae (diff) | |
download | cru-c409caa8873e25699fc10ae435e8d123685f28f3.tar.gz cru-c409caa8873e25699fc10ae435e8d123685f28f3.tar.bz2 cru-c409caa8873e25699fc10ae435e8d123685f28f3.zip |
...
Diffstat (limited to 'src/ui/render')
-rw-r--r-- | src/ui/render/TextRenderObject.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/render/TextRenderObject.cpp b/src/ui/render/TextRenderObject.cpp index 0e65da92..f7665beb 100644 --- a/src/ui/render/TextRenderObject.cpp +++ b/src/ui/render/TextRenderObject.cpp @@ -147,7 +147,6 @@ Rect TextRenderObject::GetCaretRectInContent() { const auto caret_top_center = this->text_layout_->TextSinglePoint(caret_pos, false); - const auto font_height = this->font_->GetFontSize(); const auto caret_width = this->caret_width_; auto rect = Rect{caret_top_center.left - caret_width / 2.0f, |