mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +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
|
|
@ -86,7 +86,7 @@ public:
|
|||
virtual bool can_change_layer_display() const { return true; }
|
||||
LayerDisplay layer_display () const { return _layer_display; }
|
||||
|
||||
ArdourCanvas::Container* canvas_item() { return _canvas_group; }
|
||||
virtual ArdourCanvas::Container* region_canvas () const { return _canvas_group; }
|
||||
|
||||
enum ColorTarget {
|
||||
RegionColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue