title_bar: Export TitleBarElement. (#369)
This commit is contained in:
parent
2aaf424df9
commit
38fc226c22
2 changed files with 3 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ pub use focusable::FocusableCycle;
|
|||
pub use root::{ContextModal, Root};
|
||||
pub use styled::*;
|
||||
pub use time::*;
|
||||
pub use title_bar::TitleBar;
|
||||
pub use title_bar::*;
|
||||
|
||||
pub use colors::*;
|
||||
pub use icon::*;
|
||||
|
|
|
|||
|
|
@ -225,7 +225,8 @@ impl RenderOnce for TitleBar {
|
|||
}
|
||||
}
|
||||
|
||||
struct TitleBarElement {}
|
||||
/// A TitleBar Element that can be move the window.
|
||||
pub struct TitleBarElement {}
|
||||
|
||||
impl IntoElement for TitleBarElement {
|
||||
type Element = Self;
|
||||
|
|
|
|||
Loading…
Reference in a new issue