mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
remove unused clip
option
This commit is contained in:
parent
6485af80ca
commit
f82d3331a0
|
@ -60,7 +60,7 @@ pub struct Container {
|
||||||
pub align: (Alignment, Alignment),
|
pub align: (Alignment, Alignment),
|
||||||
pub background: Option<Vec4>,
|
pub background: Option<Vec4>,
|
||||||
pub borders: Sides<Option<Border>>,
|
pub borders: Sides<Option<Border>>,
|
||||||
pub clip: bool,
|
//pub clip: bool, //TODO clip children
|
||||||
pub elements: Vec<Box<dyn UiElement>>,
|
pub elements: Vec<Box<dyn UiElement>>,
|
||||||
pub corner_radius: Option<f32>,
|
pub corner_radius: Option<f32>,
|
||||||
}
|
}
|
||||||
|
@ -78,7 +78,6 @@ impl Default for Container {
|
||||||
align: (Alignment::Begin, Alignment::Begin),
|
align: (Alignment::Begin, Alignment::Begin),
|
||||||
background: Default::default(),
|
background: Default::default(),
|
||||||
borders: Default::default(),
|
borders: Default::default(),
|
||||||
clip: Default::default(),
|
|
||||||
elements: Vec::new(),
|
elements: Vec::new(),
|
||||||
corner_radius: None,
|
corner_radius: None,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue