From 840b87c42bb55ae6f47acc7576b3b40af4c6a68c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 8 Nov 2022 19:07:13 +0100 Subject: Fix emoji drawn outside border when max lines set, username autocomplete caret not moving to end of text, multiple images on the same page with different sizes (downscaled) --- include/Text.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/Text.hpp b/include/Text.hpp index 601f1a2..daf0d46 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -172,6 +172,7 @@ namespace QuickMedia float font_get_real_height(mgl::Font *font); float get_text_quad_left_side(const VertexRef &vertex_ref) const; float get_text_quad_right_side(const VertexRef &vertex_ref) const; + float get_text_quad_bottom_side(const VertexRef &vertex_ref) const; // If the index is past the end, then the caret offset is the right side of the last character, rather than the left side float get_caret_offset_by_caret_index(int index) const; VertexRef& get_vertex_ref_clamp(int index); -- cgit v1.2.3