diff options
author | 2021-03-11 03:38:20 +0100 | |
---|---|---|
committer | 2021-03-11 03:38:20 +0100 | |
commit | ae517b9fa033ba75df5fc6ce766698fab22504fa (patch) | |
tree | 52301933e60b12eb58885ef6671869ada84dcaca /src/sandbox.rs | |
parent | 7eb512774862d44772c43f9843f586bfcfa2aa89 (diff) | |
download | iced-ae517b9fa033ba75df5fc6ce766698fab22504fa.tar.gz iced-ae517b9fa033ba75df5fc6ce766698fab22504fa.tar.bz2 iced-ae517b9fa033ba75df5fc6ce766698fab22504fa.zip |
Add `clipboard` argument to `Application::update`
Diffstat (limited to '')
-rw-r--r-- | src/sandbox.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/sandbox.rs b/src/sandbox.rs index b53fa1f2..9dd17b7e 100644 --- a/src/sandbox.rs +++ b/src/sandbox.rs @@ -1,5 +1,6 @@ use crate::{ - Application, Color, Command, Element, Error, Settings, Subscription, + Application, Clipboard, Color, Command, Element, Error, Settings, + Subscription, }; /// A sandboxed [`Application`]. @@ -161,7 +162,11 @@ where T::title(self) } - fn update(&mut self, message: T::Message) -> Command<T::Message> { + fn update( + &mut self, + message: T::Message, + _clipboard: &mut Clipboard, + ) -> Command<T::Message> { T::update(self, message); Command::none() |