feat(app): allow context drawer to be laid out next to content

This commit is contained in:
Jeremy Soller 2024-09-20 11:25:52 -06:00
parent a962865230
commit e56a94b783
3 changed files with 71 additions and 21 deletions

View file

@ -385,7 +385,7 @@ impl<T: Application> Cosmic<T> {
},
Message::ContextDrawer(show) => {
self.app.core_mut().window.show_context = show;
self.app.core_mut().set_show_context(show);
return self.app.on_context_drawer();
}