Commit: 1af9599acaeb202cec830cd017d78d76397fa638
Author: Harley Acheson
Date:   Mon Jan 14 15:02:49 2019 +0100
Branches: master
https://developer.blender.org/rB1af9599acaeb202cec830cd017d78d76397fa638

UI: fix misaligned eyedropper icon in button.

Differential Revision: https://developer.blender.org/D4183

===================================================================

M       source/blender/editors/interface/interface_region_color_picker.c

===================================================================

diff --git a/source/blender/editors/interface/interface_region_color_picker.c 
b/source/blender/editors/interface/interface_region_color_picker.c
index d354b1ef100..819fbc874d3 100644
--- a/source/blender/editors/interface/interface_region_color_picker.c
+++ b/source/blender/editors/interface/interface_region_color_picker.c
@@ -476,6 +476,7 @@ static void ui_block_colorpicker(
                bt = uiDefIconButO(
                        block, UI_BTYPE_BUT, "UI_OT_eyedropper_color", 
WM_OP_INVOKE_DEFAULT, ICON_EYEDROPPER,
                        butwidth + 10, yco, UI_UNIT_X, UI_UNIT_Y, NULL);
+               UI_but_drawflag_disable(bt, UI_BUT_ICON_LEFT);
                UI_but_func_set(bt, ui_popup_close_cb, bt, NULL);
                bt->custom_data = cpicker;
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to