summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorLibravatar KENZ <KENZ.gelsoft@gmail.com>2025-02-07 23:26:34 +0900
committerLibravatar KENZ <KENZ.gelsoft@gmail.com>2025-02-07 23:26:34 +0900
commit02cbe3cbb53f76f6295bb877c4444b1c10b5c930 (patch)
tree8fa27d354d09b4d5e526d0aa75b14269df64c7cb /widget
parent940a079d83f904bef0eb9514fce50cd0109219c9 (diff)
downloadiced-02cbe3cbb53f76f6295bb877c4444b1c10b5c930.tar.gz
iced-02cbe3cbb53f76f6295bb877c4444b1c10b5c930.tar.bz2
iced-02cbe3cbb53f76f6295bb877c4444b1c10b5c930.zip
Fix scrolling offset of preedit window
Diffstat (limited to 'widget')
-rw-r--r--widget/src/scrollable.rs2
1 files changed, 1 insertions, 1 deletions
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;
}
}
};