mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
there is no need to do a full set_colors() in MidiGhostRegion ctor.
This commit is contained in:
parent
22f17a3007
commit
165645495c
1 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv,
|
|||
: GhostRegion(rv, tv.ghost_group(), tv, source_tv, initial_unit_pos)
|
||||
, _optimization_iterator(events.end())
|
||||
{
|
||||
set_colors();
|
||||
_outline = UIConfiguration::instance().color ("ghost track midi outline");
|
||||
|
||||
base_rect->lower_to_bottom();
|
||||
update_range ();
|
||||
|
|
@ -205,7 +205,7 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv,
|
|||
initial_unit_pos)
|
||||
, _optimization_iterator(events.end())
|
||||
{
|
||||
set_colors();
|
||||
_outline = UIConfiguration::instance().color ("ghost track midi outline");
|
||||
|
||||
base_rect->lower_to_bottom();
|
||||
update_range ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue