From 02cbe3cbb53f76f6295bb877c4444b1c10b5c930 Mon Sep 17 00:00:00 2001 From: KENZ Date: Fri, 7 Feb 2025 23:26:34 +0900 Subject: Fix scrolling offset of preedit window --- widget/src/scrollable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget') diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs index 8adf5136..fe71fd6b 100644 --- a/widget/src/scrollable.rs +++ b/widget/src/scrollable.rs @@ -753,7 +753,7 @@ where if let InputMethod::Open { position, .. } = shell.input_method_mut() { - *position = *position + translation; + *position = *position - translation; } } }; -- cgit