From 8e4f1f5db52c34e4596304fac62da294f76b3394 Mon Sep 17 00:00:00 2001 From: kradchen Date: Mon, 21 Jul 2025 14:35:01 +0800 Subject: [PATCH] fix: fix text annotation render bug after input text modified --- src/src/Rendering/Measure/TextAnnotationActor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/src/Rendering/Measure/TextAnnotationActor.cpp b/src/src/Rendering/Measure/TextAnnotationActor.cpp index 1d8283a..ec2cd45 100644 --- a/src/src/Rendering/Measure/TextAnnotationActor.cpp +++ b/src/src/Rendering/Measure/TextAnnotationActor.cpp @@ -41,6 +41,7 @@ void TextAnnotationActor::BuildShape() { void TextAnnotationActor::SetTextInput(const char *str) { strcpy_s(mTextStr, str); //BuildShape will be automatically called through render overlay. + Modified(); }