diff options
author | 2023-04-12 04:13:36 +0200 | |
---|---|---|
committer | 2023-04-12 04:19:45 +0200 | |
commit | e6a93e960c3ac71a74f11555fd2d225c185f6e8c (patch) | |
tree | 3bda6043c7b2840f3414e9e5fbf7e869077f0e27 /examples/integration_wgpu | |
parent | f10e936f00d4b83dcacfdebd2727b1a5cd1add95 (diff) | |
download | iced-e6a93e960c3ac71a74f11555fd2d225c185f6e8c.tar.gz iced-e6a93e960c3ac71a74f11555fd2d225c185f6e8c.tar.bz2 iced-e6a93e960c3ac71a74f11555fd2d225c185f6e8c.zip |
Rename `on_change` to `on_input` for `TextInput`
Diffstat (limited to 'examples/integration_wgpu')
-rw-r--r-- | examples/integration_wgpu/src/controls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration_wgpu/src/controls.rs b/examples/integration_wgpu/src/controls.rs index 8c42513f..42623b15 100644 --- a/examples/integration_wgpu/src/controls.rs +++ b/examples/integration_wgpu/src/controls.rs @@ -102,7 +102,7 @@ impl Program for Controls { ) .push( text_input("Placeholder", text) - .on_change(Message::TextChanged), + .on_input(Message::TextChanged), ), ), ) |