Skip to content

Commit f2d2804

Browse files
committed
fix incorrect clip in ui hover
1 parent 08698d7 commit f2d2804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raddbg/raddbg_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8547,7 +8547,7 @@ rd_window_frame(void)
85478547
}
85488548

85498549
// rjf: soft circle around mouse
8550-
if(box->hot_t > 0.01f) DR_ClipScope(box->rect)
8550+
if(box->hot_t > 0.01f) DR_ClipScope(intersect_2f32(box->rect, dr_top_clip()))
85518551
{
85528552
Vec4F32 color = hover_color;
85538553
color.w *= 0.02f;

0 commit comments

Comments
 (0)