refactored window storage;
new helper window events (Destroyed, Created); clippy + fmt;
This commit is contained in:
parent
633f405f3f
commit
d53ccc857d
56 changed files with 1508 additions and 1819 deletions
|
|
@ -528,7 +528,9 @@ mod toast {
|
|||
clipboard: &mut dyn Clipboard,
|
||||
shell: &mut Shell<'_, Message>,
|
||||
) -> event::Status {
|
||||
if let Event::Window(window::Event::RedrawRequested(now)) = &event {
|
||||
if let Event::Window(_, window::Event::RedrawRequested(now)) =
|
||||
&event
|
||||
{
|
||||
let mut next_redraw: Option<window::RedrawRequest> = None;
|
||||
|
||||
self.instants.iter_mut().enumerate().for_each(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue