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/include/ED_screen.h
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/include/ED_screen.h')
-rw-r--r--source/blender/editors/include/ED_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h
index 00771142553..543b2a5781f 100644
--- a/source/blender/editors/include/ED_screen.h
+++ b/source/blender/editors/include/ED_screen.h
@@ -413,6 +413,9 @@ bool ED_region_overlap_isect_xy_with_margin(const ARegion *ar,
const int event_xy[2],
const int margin);
+bool ED_region_panel_category_gutter_calc_rect(const ARegion *ar, rcti *r_ar_gutter);
+bool ED_region_panel_category_gutter_isect_xy(const ARegion *ar, const int event_xy[2]);
+
bool ED_region_contains_xy(const struct ARegion *ar, const int event_xy[2]);
/* interface_region_hud.c */