Hack to make annotation pack visable.

This commit is contained in:
Jonathan Moore Liles 2008-05-06 21:01:03 -05:00
parent 42e0e380bd
commit adf0ca22f3
1 changed files with 2 additions and 3 deletions

View File

@ -207,7 +207,8 @@ Track::init ( void )
resizable( o );
{
Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 0 );
// Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 0 );
Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 1 );
o->end();
}
@ -279,8 +280,6 @@ static int pack_visible( Fl_Pack *p )
void
Track::resize ( void )
{
for ( int i = takes->children(); i--; )
takes->child( i )->size( w(), height() );