From 58ca57c64c65423c60343aeaac9655ae81e49b32 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 18 Jan 2010 00:04:37 -0600 Subject: [PATCH] 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 --- Timeline/Timeline.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Timeline/Timeline.C b/Timeline/Timeline.C index ab88e2a..9082ff6 100644 --- a/Timeline/Timeline.C +++ b/Timeline/Timeline.C @@ -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) */