Merge branch 'master' into blender2.8
This commit is contained in:
commit
2a5d4d7573
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue