perf: refactor to reduce memory allocations and cpu work
This commit is contained in:
parent
0c3e3c8629
commit
dd0158d8f0
24 changed files with 234 additions and 242 deletions
|
|
@ -380,8 +380,7 @@ impl cosmic::Application for App {
|
|||
}
|
||||
|
||||
self.overflow_popup = Some(popup_id);
|
||||
let cmds = vec![get_popup(popup_settings)];
|
||||
return Task::batch(cmds);
|
||||
return get_popup(popup_settings);
|
||||
} else {
|
||||
return Task::none();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue