From f82d3331a0dc21a52a2c3a45768e95e7bb37f346 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 19 Feb 2024 14:44:01 +0100 Subject: [PATCH] remove unused `clip` option --- hui/src/element/builtin/container.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hui/src/element/builtin/container.rs b/hui/src/element/builtin/container.rs index 5b2f992..61bccf6 100644 --- a/hui/src/element/builtin/container.rs +++ b/hui/src/element/builtin/container.rs @@ -60,7 +60,7 @@ pub struct Container { pub align: (Alignment, Alignment), pub background: Option, pub borders: Sides>, - pub clip: bool, + //pub clip: bool, //TODO clip children pub elements: Vec>, pub corner_radius: Option, } @@ -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, }