diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-04-30 03:29:50 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-04-30 03:29:50 +0400 |
commit | 12a7c8f699ed5ddaa76930606ef1f43d5d38f498 (patch) | |
tree | 249e5dd5216ae7b4442572d9751b5cd9c7407053 /source/blender/editors/space_nla | |
parent | 87072f1585a68a4dfa64c80ec0688770c2df3077 (diff) |
Bugfix #22201: NLA 'freeze' icon does not match box
When the channel list in the NLA Editor was resized, the 'freeze' icon on Action Lines stayed put due to a relic from older code.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c index 2ec88ba852f..2314b5ddcfa 100644 --- a/source/blender/editors/space_nla/nla_draw.c +++ b/source/blender/editors/space_nla/nla_draw.c @@ -790,7 +790,7 @@ static void draw_nla_channel_list_gl (bAnimContext *ac, ListBase *anim_data, Vie fdrawline((float)(v2d->cur.xmax-offset), yminc, (float)(v2d->cur.xmax-offset), ymaxc); - offset += 16;; + offset += 16; /* 'tweaking action' indicator - not a button */ UI_icon_draw((float)(v2d->cur.xmax-offset), ydatac, ICON_EDIT); @@ -805,7 +805,7 @@ static void draw_nla_channel_list_gl (bAnimContext *ac, ListBase *anim_data, Vie glEnd(); // GL_LINES /* 'push down' icon for normal active-actions */ - UI_icon_draw((float)NLACHANNEL_NAMEWIDTH-offset, ydatac, ICON_FREEZE); + UI_icon_draw((float)v2d->cur.xmax-offset, ydatac, ICON_FREEZE); } } |