Cleanup: Use vector function

This commit is contained in:
Aaron Carlisle 2021-12-27 13:16:47 -05:00
parent 5814de65f9
commit d6dd2f51bb
1 changed files with 1 additions and 1 deletions

View File

@ -1667,7 +1667,7 @@ static bool event_in_markers_region(const ARegion *region, const wmEvent *event)
{
rcti rect = region->winrct;
rect.ymax = rect.ymin + UI_MARKER_MARGIN_Y;
return BLI_rcti_isect_pt(&rect, event->xy[0], event->xy[1]);
return BLI_rcti_isect_pt_v(&rect, event->xy);
}
/**