Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2013-04-29 12:45:39 +0400
committerTon Roosendaal <ton@blender.org>2013-04-29 12:45:39 +0400
commita4a29493090534caa6e9a732f11898db71e7ac0d (patch)
tree35e264838114c09bf488032ed65d5c092c086758 /source
parent8caefd44f2ea3287d243a057a9a84023641cee05 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_widgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 211d0533c0e..9589e5059cc 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -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);
}