diff options
author | Harley Acheson <harley> | 2019-01-14 17:02:49 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-14 17:28:04 +0300 |
commit | 1af9599acaeb202cec830cd017d78d76397fa638 (patch) | |
tree | ad4572e545793c595c0d1cbcdcb14df53144cdf4 /source/blender | |
parent | 06f7b6827d0d74e1ee870b30ddae4f3afb3067ce (diff) |
UI: fix misaligned eyedropper icon in button.
Differential Revision: https://developer.blender.org/D4183
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_region_color_picker.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |