Timeline/Track: fix track header resize behavior.

This commit is contained in:
Jonathan Moore Liles 2012-12-01 16:52:18 -08:00
parent e77dbca085
commit dd6f448d72
1 changed files with 2 additions and 0 deletions

View File

@ -914,6 +914,8 @@ Track::internal_draw ( void )
{
draw_box();
pack->resize( x() + Track::width(), y(), w() - Track::width(), h() );
/* we have to do this first because the pack(s) size isn't known until draw() */
draw_child( *pack );