Keep scrollbars on top of timeline widget.
This commit is contained in:
parent
f8ab34b914
commit
8a1a6d7fe3
|
@ -172,6 +172,10 @@ Timeline::Timeline ( int X, int Y, int W, int H, const char* L ) : Fl_Group( X,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* make sure scrollbars are on top */
|
||||||
|
add( vscroll );
|
||||||
|
add( hscroll );
|
||||||
|
|
||||||
vscroll->range( 0, tracks->h() );
|
vscroll->range( 0, tracks->h() );
|
||||||
|
|
||||||
redraw();
|
redraw();
|
||||||
|
|
Loading…
Reference in New Issue