summaryrefslogtreecommitdiffstats
path: root/core/src/shell.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-12 08:46:35 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-12 08:46:35 +0100
commit7979125ed793918dd4a0e5a1ddec8d17bffbd5bf (patch)
tree6633f5f9bf45d4c7378afb1480617a7a247d0a89 /core/src/shell.rs
parent97f1db3783dca5a4f60a9f89668613de4dfe9edd (diff)
downloadiced-7979125ed793918dd4a0e5a1ddec8d17bffbd5bf.tar.gz
iced-7979125ed793918dd4a0e5a1ddec8d17bffbd5bf.tar.bz2
iced-7979125ed793918dd4a0e5a1ddec8d17bffbd5bf.zip
Simplify `InputMethod` API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp> Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
Diffstat (limited to 'core/src/shell.rs')
-rw-r--r--core/src/shell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/shell.rs b/core/src/shell.rs
index 509e3822..56250e2e 100644
--- a/core/src/shell.rs
+++ b/core/src/shell.rs
@@ -27,7 +27,7 @@ impl<'a, Message> Shell<'a, Message> {
redraw_request: window::RedrawRequest::Wait,
is_layout_invalid: false,
are_widgets_invalid: false,
- input_method: InputMethod::None,
+ input_method: InputMethod::Disabled,
}
}