summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-12 04:13:36 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-12 04:19:45 +0200
commite6a93e960c3ac71a74f11555fd2d225c185f6e8c (patch)
tree3bda6043c7b2840f3414e9e5fbf7e869077f0e27 /examples/integration_wgpu
parentf10e936f00d4b83dcacfdebd2727b1a5cd1add95 (diff)
downloadiced-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.rs2
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),
),
),
)