Merge pull request #1047 from iced-rs/revert-menus

Revert system menus support
This commit is contained in:
Héctor Ramón 2021-09-15 15:50:25 +07:00 committed by GitHub
commit 099981cfc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 19 additions and 673 deletions

View file

@ -62,8 +62,8 @@ mod debug;
mod debug;
pub use iced_core::{
menu, Align, Background, Color, Font, HorizontalAlignment, Length, Menu,
Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
Align, Background, Color, Font, HorizontalAlignment, Length, Padding,
Point, Rectangle, Size, Vector, VerticalAlignment,
};
pub use iced_futures::{executor, futures};

View file

@ -11,7 +11,7 @@ pub trait Program: Sized {
type Renderer: Renderer;
/// The type of __messages__ your [`Program`] will produce.
type Message: std::fmt::Debug + Clone + Send;
type Message: std::fmt::Debug + Send;
/// Handles a __message__ and updates the state of the [`Program`].
///