diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-10 01:37:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-10 01:37:29 +0300 |
commit | 3fba5cfe7ae1b3e626a88b63ed2295e1a6ce13b0 (patch) | |
tree | 928b3c294b5702741f1693602bbd5f6f41fb7c3a /source/blender/editors/animation | |
parent | 9231ff41604039ca55f1da4945a077cfab9e1e84 (diff) |
Bumping up margin for catching marker events in animation editors.
Old value of 30 px was perhaps a bit too strict, given that scrollbars
took up 16px and that standard icons are 16px, which in total would
have been 32px from the bottom of the region. Having said that, the
marker icons are only about half-size, though it seems that in general
people (can) only aim quite loosely...
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_markers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index 80b026ddd6e..85138bb9f06 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -363,7 +363,7 @@ void draw_markers_time(const bContext *C, int flag) */ /* maximum y-axis value (in region screen-space) that marker events should still be accepted for */ -#define ANIMEDIT_MARKER_YAXIS_MAX 30 +#define ANIMEDIT_MARKER_YAXIS_MAX 40 /* ------------------------ */ |