Merge branch 'master' into blender2.8

This commit is contained in:
Campbell Barton 2018-06-13 11:11:23 +02:00
commit 2a5d4d7573
1 changed files with 2 additions and 2 deletions

View File

@ -1986,11 +1986,11 @@ static uiBut *ui_item_menu(
if (layout->root->type == UI_LAYOUT_HEADER) { /* ugly .. */
if (force_menu) {
w += UI_UNIT_Y;
w += UI_UNIT_X;
}
else {
if (name[0]) {
w -= UI_UNIT_Y / 2;
w -= UI_UNIT_X / 2;
}
}
}