Timeline/Track: fix track header resize behavior.
This commit is contained in:
parent
e77dbca085
commit
dd6f448d72
|
@ -914,6 +914,8 @@ Track::internal_draw ( void )
|
||||||
{
|
{
|
||||||
draw_box();
|
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() */
|
/* we have to do this first because the pack(s) size isn't known until draw() */
|
||||||
draw_child( *pack );
|
draw_child( *pack );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue