UI: add separators in properties editor header tabs.

This commit is contained in:
2018-07-05 19:19:43 +02:00
parent dbdafe1209
commit a883f0fd54
3 changed files with 16 additions and 5 deletions

View File

@@ -680,10 +680,13 @@ static void ui_item_enum_expand(
}
for (item = item_array; item->identifier; item++) {
if (!item->identifier[0]) {
if (!item->identifier[0] && (item+1)->identifier) {
if (radial && layout_radial) {
uiItemS(layout_radial);
}
else {
uiItemS(block->curlayout);
}
continue;
}