From aee2d510d4510b8c8aad77c97c0d09d36fd5852c Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Mon, 2 Dec 2024 15:19:29 -0800 Subject: [PATCH] fix blur --- src/raddbg/raddbg_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index c86f45f0..bd9a263a 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -8337,7 +8337,7 @@ rd_window_frame(RD_Window *ws) // rjf: blur background if(box->flags & UI_BoxFlag_DrawBackgroundBlur && rd_setting_val_from_code(RD_SettingCode_BackgroundBlur).s32) { - R_PassParams_Blur *params = dr_blur(box->rect, box->blur_size*(1-box->transparency), 0); + R_PassParams_Blur *params = dr_blur(pad_2f32(box->rect, 1.f), box->blur_size*(1-box->transparency), 0); MemoryCopyArray(params->corner_radii, box->corner_radii); }