aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/Base.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-16 14:26:12 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-16 14:26:12 +0800
commit9feb6a1611a86b90a02b5bfe2b1d4c8189650491 (patch)
tree96a66d98a6354f11432246405d0dfaf421d5f08f /include/cru/platform/graphics/Base.h
parent07d662aafc25b145eb20e4123ebc82b5736cdeb7 (diff)
downloadcru-9feb6a1611a86b90a02b5bfe2b1d4c8189650491.tar.gz
cru-9feb6a1611a86b90a02b5bfe2b1d4c8189650491.tar.bz2
cru-9feb6a1611a86b90a02b5bfe2b1d4c8189650491.zip
Fix text edit hittest trailing bug.
Diffstat (limited to 'include/cru/platform/graphics/Base.h')
-rw-r--r--include/cru/platform/graphics/Base.h1
1 files changed, 1 insertions, 0 deletions
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 {