Labels in UI were not drawing greyed out when disabled.
Bug in post 2.66a commit to make greying out buttons draw much nicer.

User reported Addon menu was not clearly showing disabled Addons anymore.
This commit is contained in:
2013-04-29 08:45:39 +00:00
parent 8caefd44f2
commit a4a2949309

View File

@@ -1762,9 +1762,9 @@ static void widget_state_label(uiWidgetType *wt, int state)
widget_state(wt, state);
if (state & UI_SELECT)
UI_GetThemeColor4ubv(TH_TEXT_HI, (unsigned char *)wt->wcol.text);
UI_GetThemeColor3ubv(TH_TEXT_HI, (unsigned char *)wt->wcol.text);
else
UI_GetThemeColor4ubv(TH_TEXT, (unsigned char *)wt->wcol.text);
UI_GetThemeColor3ubv(TH_TEXT, (unsigned char *)wt->wcol.text);
}