mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Relayer punch/loop range rects, fix display of punch-in with no punch-out, ensure range selection rect is hidden after single click.
git-svn-id: svn://localhost/ardour2/branches/3.0@3836 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ef9beb3f60
commit
80608f7594
6 changed files with 34 additions and 78 deletions
|
|
@ -61,15 +61,7 @@ AudioStreamView::AudioStreamView (AudioTimeAxisView& tv)
|
|||
crossfades_visible = true;
|
||||
_waveform_scale = LinearWaveform;
|
||||
_waveform_shape = Traditional;
|
||||
|
||||
if (tv.is_track())
|
||||
stream_base_color = ARDOUR_UI::config()->canvasvar_AudioTrackBase.get();
|
||||
else
|
||||
stream_base_color = ARDOUR_UI::config()->canvasvar_AudioBusBase.get();
|
||||
|
||||
canvas_rect->property_fill_color_rgba() = stream_base_color;
|
||||
canvas_rect->property_outline_color_rgba() = RGBA_BLACK;
|
||||
|
||||
color_handler ();
|
||||
_amplitude_above_axis = 1.0;
|
||||
|
||||
use_rec_regions = tv.editor.show_waveforms_recording ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue