Always draw region boxes with horizontal shading.
This commit is contained in:
parent
b17623720e
commit
3d3998cccb
|
@ -533,9 +533,9 @@ Audio_Region::draw_box( void )
|
|||
}
|
||||
|
||||
if ( selected() )
|
||||
fl_draw_box( fl_down( box() ), x() - 10, y(), w() + 50, h(), selection_color );
|
||||
fl_draw_box( fl_down( box() ), x() - ( h() >> 1 ), y(), w() + ( h() >> 1 ), h(), selection_color );
|
||||
else
|
||||
fl_draw_box( box(), x() - 10, y(), w() + 50, h(), color );
|
||||
fl_draw_box( box(), x() - ( h() >> 1 ), y(), w() + ( h() >> 1 ), h(), color );
|
||||
|
||||
/* draw fades */
|
||||
draw_fade( _fade_in, Fade::In, false, x(), w() );
|
||||
|
|
Loading…
Reference in New Issue