diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-08-06 17:38:23 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-08-06 17:46:37 +0300 |
commit | 599d8291ad4c789eca425ac9865b669c59e4d3c0 (patch) | |
tree | bd1408d3b7a1dea6832e43a5b3ae20c2c67b1b67 /source/blender/editors/animation | |
parent | 579329388af58b44f545c2e4411bbd987256b923 (diff) |
AnimEditors FModifiers toggle: Add a bit more space beside it so that it doesn't seem to collide with the mute toggle
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index db222f945b5..ce868e2277c 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -4287,13 +4287,13 @@ void ANIM_channel_draw_widgets(const bContext *C, bAnimContext *ac, bAnimListEle offset += ICON_WIDTH; draw_setting_widget(ac, ale, acf, block, (int)v2d->cur.xmax - offset, ymid, ACHANNEL_SETTING_MUTE); } - + /* modifiers disable */ if (acf->has_setting(ac, ale, ACHANNEL_SETTING_MOD_OFF)) { - offset += ICON_WIDTH; + offset += ICON_WIDTH * 1.2f; /* hack: extra spacing, to avoid touching the mute toggle */ draw_setting_widget(ac, ale, acf, block, (int)v2d->cur.xmax - offset, ymid, ACHANNEL_SETTING_MOD_OFF); } - + /* ----------- */ /* pinned... */ |