Timeline: Always resize tracks Fl_Pack.

This eliminates a bug were all tracks are invisible if the resized
window results in the tracks pack being shorter than its original
height.

Conflicts:

	Timeline/Timeline.C
pull/3/head
Jonathan Moore Liles 2010-01-18 00:04:37 -06:00
parent 0042d8e531
commit 58ca57c64c
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ Timeline::resize ( int X, int Y, int W, int H )
hscroll->resize( BX, BY + H - 18, hscroll->w(), 18 );
vscroll->size( vscroll->w(), H - 18 );
tracks->resize( BX, rulers->h(), W - vscroll->w(), H - vscroll->h() );
tracks->resize( BX, BY + rulers->h(), W - vscroll->w(), H - vscroll->h() );
}
/** draw ancillary cursors (not necessarily in the overlay plane) */