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
This commit is contained in:
parent
0042d8e531
commit
58ca57c64c
|
@ -888,7 +888,7 @@ Timeline::resize ( int X, int Y, int W, int H )
|
||||||
hscroll->resize( BX, BY + H - 18, hscroll->w(), 18 );
|
hscroll->resize( BX, BY + H - 18, hscroll->w(), 18 );
|
||||||
vscroll->size( vscroll->w(), H - 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) */
|
/** draw ancillary cursors (not necessarily in the overlay plane) */
|
||||||
|
|
Loading…
Reference in New Issue