improv: allow overrides for corner radius or blur that apply on creation as well
This commit is contained in:
parent
f268bb86cf
commit
ac4a1ab259
9 changed files with 415 additions and 285 deletions
|
|
@ -101,6 +101,7 @@ impl cosmic::Application for Window {
|
|||
Message::Surface(destroy_popup(id))
|
||||
} else {
|
||||
Message::Surface(app_popup::<Window>(
|
||||
|_| Default::default(),
|
||||
move |state: &mut Window| {
|
||||
let new_id = Id::unique();
|
||||
state.popup = Some(new_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue