Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-24 04:37:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-24 05:05:21 +0300
commit4312b47e83aaa7d54e67e53774ca85140c3a0931 (patch)
tree45df2f7987c6ee1fcf764d9d8832b64312f98462 /source/blender/editors/interface/interface_panel.c
parent411b5f3b100ee385b68c888c278745926357626a (diff)
Fix T63822: Sidebar tabs active area dead-zone #2
Take the entire gutter used for panel tabs into account. Introduced in recent fix for T61554
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
-rw-r--r--source/blender/editors/interface/interface_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 7117115a0a1..ae28c09b7e2 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1757,7 +1757,7 @@ static void ui_handle_panel_header(
}
}
-bool UI_panel_category_is_visible(ARegion *ar)
+bool UI_panel_category_is_visible(const ARegion *ar)
{
/* more than one */
return ar->panels_category.first && ar->panels_category.first != ar->panels_category.last;