diff options
author | Ines Almeida <britalmeida@gmail.com> | 2015-05-08 21:22:41 +0300 |
---|---|---|
committer | Ines Almeida <britalmeida@gmail.com> | 2015-05-08 21:22:41 +0300 |
commit | a08d90f0706270c87352ff7c33777905291c45a1 (patch) | |
tree | d6b22e341dfccf5ab9e49ef52c930628f7bb5e98 | |
parent | b65c77e664478750a26c384d39baa13cf45aa545 (diff) |
matcaps browser: changing emboss style and grid direction according to T44613
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 90bcddde0c0..fe1a1b9096d 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -1651,7 +1651,7 @@ static uiBlock *ui_icon_view_menu_cb(bContext *C, ARegion *ar, void *arg_litem) /* arg_litem is malloced, can be freed by parent button */ cb = *((RNAUpdateCb *)arg_litem); - block = UI_block_begin(C, ar, "_popup", UI_EMBOSS); + block = UI_block_begin(C, ar, "_popup", UI_EMBOSS_PULLDOWN); UI_block_flag_enable(block, UI_BLOCK_LOOP); @@ -1672,7 +1672,7 @@ static uiBlock *ui_icon_view_menu_cb(bContext *C, ARegion *ar, void *arg_litem) } UI_block_bounds_set_normal(block, 0.3f * U.widget_unit); - UI_block_direction_set(block, UI_DIR_UP); + UI_block_direction_set(block, UI_DIR_DOWN); if (free) { MEM_freeN(item); |