diff options
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 3c937c545ea..3d18489c0c9 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1345,10 +1345,8 @@ bool UI_panel_should_show_background(const ARegion *region, const PanelType *pan /* We never want a background around active tools. */ return false; } - else { - /* Without a header there is no background except for region overlap. */ - return region->overlap != 0; - } + /* Without a header there is no background except for region overlap. */ + return region->overlap != 0; } return true; |