fix caret not moving while typing

This commit is contained in:
temportalflux
2026-07-11 09:31:07 -04:00
parent b10d6c36e1
commit 56234ed27e
2 changed files with 4 additions and 0 deletions
@@ -90,6 +90,7 @@ impl EntityInputHandler for TextInputState {
cx: &mut Context<Self>,
) {
let range_utf8 = self.internal.ime_resolve_range(range_utf16);
println!("{range_utf8:?} {text_to_insert:?}");
self.internal
.replace_text_in_range_bytes(range_utf8, text_to_insert, cx);
//self.mark_layout_dirty();