diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-27 21:16:47 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-27 21:16:47 +0300 |
commit | d6dd2f51bbf266a7553ceeef381eddc1d769307d (patch) | |
tree | 53f65df2c95c8793de8bad1061fbbc0222079235 /source/blender/editors | |
parent | 5814de65f9a074a65d4cb5e28787f644f268ee75 (diff) |
Cleanup: Use vector function
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 5dc6fe88663..95711fe20fa 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -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); } /** |