fix (example): update to rectangle tracker subscription
This commit is contained in:
parent
c2ddc97685
commit
6e6677bfac
1 changed files with 1 additions and 7 deletions
|
|
@ -419,12 +419,6 @@ impl Application for Window {
|
|||
Message::Close
|
||||
}
|
||||
fn subscription(&self) -> iced::Subscription<Self::Message> {
|
||||
rectangle_tracker_subscription(0).map(|m| {
|
||||
if let Some((_, e)) = m {
|
||||
Message::Rectangle(e)
|
||||
} else {
|
||||
Message::Ignore
|
||||
}
|
||||
})
|
||||
rectangle_tracker_subscription(0).map(|(_, e)| Message::Rectangle(e))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue