summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_region_view.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-13 01:46:04 +0200
committerRobin Gareus <robin@gareus.org>2014-09-13 01:48:11 +0200
commitd80e55e82867381422b17d7c0315f017108d3c05 (patch)
treeb1ba99db7e52bdc2d3156984226e515ee1639a3a /gtk2_ardour/audio_region_view.cc
parent3da9c3b7403dd57984e1f0d090c7bd902f933225 (diff)
don't clamp wave-fill alpha value when using region color
Diffstat (limited to 'gtk2_ardour/audio_region_view.cc')
-rw-r--r--gtk2_ardour/audio_region_view.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc
index 6c41272d93..da6aeff7bf 100644
--- a/gtk2_ardour/audio_region_view.cc
+++ b/gtk2_ardour/audio_region_view.cc
@@ -1413,13 +1413,6 @@ AudioRegionView::set_some_waveform_colors (vector<ArdourCanvas::WaveView*>& wave
} else {
outline = ARDOUR_UI::config()->get_canvasvar_SelectedWaveForm();
fill = ARDOUR_UI::config()->get_canvasvar_SelectedWaveFormFill();
-
- if (ARDOUR_UI::config()->get_color_regions_using_track_color()) {
- /* just use a slightly transparent version of the selected
- * color so that some of the track color bleeds through
- */
- fill = UINT_RGBA_CHANGE_A (fill, 217);
- }
}
} else {
if (_recregion) {
@@ -1433,13 +1426,6 @@ AudioRegionView::set_some_waveform_colors (vector<ArdourCanvas::WaveView*>& wave
} else {
outline = ARDOUR_UI::config()->get_canvasvar_WaveForm();
fill = ARDOUR_UI::config()->get_canvasvar_WaveFormFill();
-
- if (ARDOUR_UI::config()->get_color_regions_using_track_color()) {
- /* just use a slightly transparent version of the selected
- * color so that some of the track color bleeds through
- */
- fill = UINT_RGBA_CHANGE_A (fill, 217);
- }
}
}
}