remove unused clip option

This commit is contained in:
griffi-gh 2024-02-19 14:44:01 +01:00
parent 6485af80ca
commit f82d3331a0

View file

@ -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,
} }