From 9feb6a1611a86b90a02b5bfe2b1d4c8189650491 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 16 Nov 2025 14:26:12 +0800 Subject: Fix text edit hittest trailing bug. --- include/cru/platform/graphics/Base.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/cru/platform/graphics/Base.h b/include/cru/platform/graphics/Base.h index 7f12dbef..371d0f99 100644 --- a/include/cru/platform/graphics/Base.h +++ b/include/cru/platform/graphics/Base.h @@ -31,6 +31,7 @@ struct TextHitTestResult { Index position; bool trailing; bool inside_text; + Index position_with_trailing; }; struct CRU_PLATFORM_GRAPHICS_API IGraphicsResource : virtual IPlatformResource { -- cgit v1.2.3