mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Use a dedicated Canvas Group for MRV
This fixes rendering of opaque MIDI regions (previously MIDI regions were always transparent). This change provides a way to "flatten" layered MIDI regions, while still allowing to show the note-line and grid behind the regions.
This commit is contained in:
parent
1efa5e9a55
commit
f003bee985
6 changed files with 24 additions and 12 deletions
|
|
@ -3687,9 +3687,9 @@ MidiRegionView::note_mouse_position (float x_fraction, float /*y_fraction*/, boo
|
|||
uint32_t
|
||||
MidiRegionView::get_fill_color() const
|
||||
{
|
||||
const std::string mod_name = (_dragging ? "dragging region" :
|
||||
const std::string mod_name = _dragging ? "dragging region" :
|
||||
trackview.editor().internal_editing() ? "editable region" :
|
||||
"midi frame base");
|
||||
(_region->opaque() && !_region->muted ()) ? "opaque region base" : "transparent region base";
|
||||
|
||||
|
||||
if (_selected) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue