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