diff --git a/gpui/src/elements/container.rs b/gpui/src/elements/container.rs index cdbb6a17b4..c387cb8e9d 100644 --- a/gpui/src/elements/container.rs +++ b/gpui/src/elements/container.rs @@ -11,7 +11,6 @@ use crate::{ pub struct Container { margin: Margin, padding: Padding, - overdraw: Overdraw, background_color: Option, border: Border, corner_radius: f32, @@ -24,7 +23,6 @@ impl Container { Self { margin: Margin::default(), padding: Padding::default(), - overdraw: Overdraw::default(), background_color: None, border: Border::default(), corner_radius: 0.0, @@ -68,11 +66,6 @@ impl Container { self } - pub fn with_overdraw_bottom(mut self, overdraw: f32) -> Self { - self.overdraw.bottom = overdraw; - self - } - pub fn with_corner_radius(mut self, radius: f32) -> Self { self.corner_radius = radius; self @@ -207,14 +200,6 @@ pub struct Padding { right: f32, } -#[derive(Default)] -pub struct Overdraw { - top: f32, - left: f32, - bottom: f32, - right: f32, -} - #[derive(Default)] pub struct Shadow { offset: Vector2F,