Browse Source

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
tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
58ca57c64c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Timeline/Timeline.C

+ 1
- 1
Timeline/Timeline.C 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) */


Loading…
Cancel
Save