Don't inflate clip area

This commit is contained in:
Dániel Buga 2022-05-05 18:33:45 +02:00
parent e8e4d7f80a
commit fb6ccdaaa5
1 changed files with 0 additions and 2 deletions

View File

@ -311,7 +311,6 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &Env) {
let shadow_width = 5.0;
let rect = ctx.size().to_rect();
ctx.with_save(|ctx| {
ctx.clip(rect.inflate(0.0, 100.0));
ctx.blurred_rect(
rect,
shadow_width,
@ -506,7 +505,6 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &Env) {
let shadow_width = 5.0;
let rect = ctx.size().to_rect();
ctx.with_save(|ctx| {
ctx.clip(rect.inflate(0.0, 100.0));
ctx.blurred_rect(
rect,
shadow_width,