mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
fix incorrect clip in ui hover
This commit is contained in:
@@ -8547,7 +8547,7 @@ rd_window_frame(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// rjf: soft circle around mouse
|
// 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;
|
Vec4F32 color = hover_color;
|
||||||
color.w *= 0.02f;
|
color.w *= 0.02f;
|
||||||
|
|||||||
Reference in New Issue
Block a user