mirror of https://github.com/lapce/lapce.git
Don't inflate clip area
This commit is contained in:
parent
e8e4d7f80a
commit
fb6ccdaaa5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue