Revert #119181: Popover Button Padding for Arrow #119187

Merged
Harley Acheson merged 1 commits from Harley/blender:Revert119181 into main 2024-03-07 22:22:42 +01:00
1 changed files with 1 additions and 2 deletions

View File

@ -2994,8 +2994,7 @@ static uiBut *ui_item_menu(uiLayout *layout,
}
uiTextIconPadFactor pad_factor = ui_text_pad_compact;
/* Ugly! Extra padding in specific circumstances. */
if (layout->root->type == UI_LAYOUT_HEADER || force_menu) {
if (layout->root->type == UI_LAYOUT_HEADER) { /* Ugly! */
if (icon == ICON_NONE && force_menu) {
/* pass */
}