Remove `Overdraw`

Antonio Scandurra and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

gpui/src/elements/container.rs | 15 ---------------
1 file changed, 15 deletions(-)

Detailed changes

gpui/src/elements/container.rs 🔗

@@ -11,7 +11,6 @@ use crate::{
 pub struct Container {
     margin: Margin,
     padding: Padding,
-    overdraw: Overdraw,
     background_color: Option<ColorU>,
     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,