Fix T38171: Vertical tabs don't respond to clicks on the left most pixels

This commit is contained in:
Campbell Barton 2014-01-14 04:15:54 +11:00
parent 22c9e532dc
commit 800e2283aa
Notes: blender-bot 2023-02-14 11:21:39 +01:00
Referenced by issue #38171, Vertical tabs don't respond to clicks on the left most pixels
1 changed files with 3 additions and 0 deletions

View File

@ -1574,6 +1574,9 @@ void UI_panel_category_draw_all(ARegion *ar, const char *category_id_active)
is_active_prev = is_active;
#endif
/* not essential, but allows events to be handled right up until the region edge [#38171] */
pc_dyn->rect.xmin = v2d->mask.xmin;
}
glDisable(GL_LINE_SMOOTH);