remove unused clip option

This commit is contained in:
griffi-gh 2024-02-19 14:44:01 +01:00
parent 3432550566
commit 5290abc41f

View file

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