From 9c75c09e9d6d7c3eef702941dadfa5b1ba9541fa Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Sun, 7 Apr 2024 13:36:43 -0700 Subject: [PATCH] force update. --- source/blender/editors/screen/screen_ops.cc | 30 ++++++++++----------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/source/blender/editors/screen/screen_ops.cc b/source/blender/editors/screen/screen_ops.cc index bf7c8901c22..c5b9333cbdf 100644 --- a/source/blender/editors/screen/screen_ops.cc +++ b/source/blender/editors/screen/screen_ops.cc @@ -4382,23 +4382,21 @@ static void screen_area_menu_items(ScrArea *area, uiLayout *layout) uiItemS(layout); - if (area->spacetype != SPACE_FILE) { - uiItemO(layout, - area->full ? IFACE_("Restore Areas") : IFACE_("Maximize Area"), - ICON_NONE, - "SCREEN_OT_screen_full_area"); + uiItemO(layout, + area->full ? IFACE_("Restore Areas") : IFACE_("Maximize Area"), + ICON_NONE, + "SCREEN_OT_screen_full_area"); - if (!area->full) { - uiItemFullO(layout, - "SCREEN_OT_screen_full_area", - IFACE_("Full Screen Area"), - ICON_NONE, - nullptr, - WM_OP_INVOKE_DEFAULT, - UI_ITEM_NONE, - &ptr); - RNA_boolean_set(&ptr, "use_hide_panels", true); - } + if (area->spacetype != SPACE_FILE && !area->full) { + uiItemFullO(layout, + "SCREEN_OT_screen_full_area", + IFACE_("Full Screen Area"), + ICON_NONE, + nullptr, + WM_OP_INVOKE_DEFAULT, + UI_ITEM_NONE, + &ptr); + RNA_boolean_set(&ptr, "use_hide_panels", true); } uiItemO(layout, nullptr, ICON_NONE, "SCREEN_OT_area_dupli"); -- 2.30.2