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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-10-21 22:29:56 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-10-21 22:30:17 +0300
commitbe171b295fc7defa451ef8eba8bc9dbf260c511a (patch)
tree3b7914c3d2de08648aa49f563027e528da8731d4 /source/blender/editors/animation
parentbe558d2d9775b3d9d1f84d316d2675a205932d92 (diff)
Cleanup: Use array utility for cursor events
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/time_scrub_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/time_scrub_ui.c b/source/blender/editors/animation/time_scrub_ui.c
index f3cfbabd544..2ddaa2c415e 100644
--- a/source/blender/editors/animation/time_scrub_ui.c
+++ b/source/blender/editors/animation/time_scrub_ui.c
@@ -208,7 +208,7 @@ bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event)
{
rcti rect = region->winrct;
rect.ymin = rect.ymax - UI_TIME_SCRUB_MARGIN_Y;
- return BLI_rcti_isect_pt(&rect, event->xy[0], event->xy[1]);
+ return BLI_rcti_isect_pt_v(&rect, event->xy);
}
void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet)