Commit: 3f93091e8bdb3ad9e1e2c2c68396cc6e83433749 Author: Brecht Van Lommel Date: Tue Oct 9 23:05:43 2018 +0200 Branches: blender2.8 https://developer.blender.org/rB3f93091e8bdb3ad9e1e2c2c68396cc6e83433749
UI: reduce greying out of icons in radio and toggle buttons. With the monochrome icons this reduced the contrast too much. =================================================================== M source/blender/editors/interface/interface_widgets.c =================================================================== diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 0aec13b7f1c..fba43afb609 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -1301,7 +1301,7 @@ static void widget_draw_icon( if (ELEM(but->type, UI_BTYPE_TOGGLE, UI_BTYPE_ROW, UI_BTYPE_TOGGLE_N, UI_BTYPE_LISTROW)) { if (but->flag & UI_SELECT) {} else if (but->flag & UI_ACTIVE) {} - else alpha = 0.5f; + else alpha = 0.75f; } else if ((but->type == UI_BTYPE_LABEL)) { /* extra feature allows more alpha blending */ _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs