Wire up style to PickList and overlay::Menu

This commit is contained in:
Héctor Ramón Jiménez 2021-10-28 15:41:12 +07:00
parent 687c35e052
commit fe4dfeafdb
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 30 additions and 87 deletions

View file

@ -1,14 +1,3 @@
//! Build and show dropdown menus.
use crate::backend::{self, Backend};
use crate::Renderer;
use iced_native::overlay;
pub use iced_style::menu::Style;
impl<B> overlay::menu::Renderer for Renderer<B>
where
B: Backend + backend::Text,
{
type Style = Style;
}