Fix #120133: Incorrect BG color Hovering Inactive #120262

Merged
Harley Acheson merged 1 commits from Harley/blender:Fix120133 into main 2024-04-05 18:08:56 +02:00
1 changed files with 1 additions and 0 deletions

View File

@ -2778,6 +2778,7 @@ static void widget_state_menu_item(uiWidgetType *wt,
/* Inactive. */
if (state->but_flag & UI_HOVER) {
color_blend_v3_v3(wt->wcol.inner, wt->wcol.text, 0.2f);
copy_v3_v3_uchar(wt->wcol.text, wt->wcol.text_sel);
wt->wcol.inner[3] = 255;
}
color_blend_v3_v3(wt->wcol.text, wt->wcol.inner, 0.5f);