mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-17 19:50:12 -08:00
fix incorrect clip in ui hover
This commit is contained in:
1 parent
08698d739d
commit
f2d28045fa
1 file changed
+1
-1
@@ -8547,7 +8547,7 @@ rd_window_frame(void)
|
||||
}
|
||||
|
||||
// rjf: soft circle around mouse
|
||||
if(box->hot_t > 0.01f) DR_ClipScope(box->rect)
|
||||
if(box->hot_t > 0.01f) DR_ClipScope(intersect_2f32(box->rect, dr_top_clip()))
|
||||
{
|
||||
Vec4F32 color = hover_color;
|
||||
color.w *= 0.02f;
|
||||
|
||||
Reference in new issue
Block a user