global search box style change
@@ -174,24 +174,6 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, env: &Env) {
let buffer = data.editor_view_content(self.parent_view_id);
let rect = ctx.size().to_rect();
- ctx.with_save(|ctx| {
- ctx.clip(rect.inset((100.0, 0.0, 100.0, 100.0)));
- let shadow_width = data.config.ui.drop_shadow_width() as f64;
- if shadow_width > 0.0 {
- ctx.blurred_rect(
- rect,
- shadow_width,
- data.config
- .get_color_unchecked(LapceTheme::LAPCE_DROPDOWN_SHADOW),
- );
- } else {
- ctx.stroke(
- rect.inflate(0.5, 0.5),
- data.config.get_color_unchecked(LapceTheme::LAPCE_BORDER),
- 1.0,
- );
- }
- });
ctx.fill(
rect,
data.config
