Cleanup: ui align header
This commit is contained in:
@@ -3015,8 +3015,11 @@ static void ui_item_align(uiLayout *litem, short nr)
|
||||
#ifndef USE_UIBUT_SPATIAL_ALIGN
|
||||
if (ui_but_can_align(bitem->but))
|
||||
#endif
|
||||
if (!bitem->but->alignnr)
|
||||
{
|
||||
if (!bitem->but->alignnr) {
|
||||
bitem->but->alignnr = nr;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (item->type == ITEM_LAYOUT_ABSOLUTE) {
|
||||
/* pass */
|
||||
|
Reference in New Issue
Block a user