Bug fix:
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:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user