mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
redesign (MIDI)RegionView display disabling around an RAII model
This commit is contained in:
parent
1d10408bd1
commit
b8a6b97b49
9 changed files with 68 additions and 59 deletions
|
|
@ -79,6 +79,8 @@ AutomationRegionView::~AutomationRegionView ()
|
|||
void
|
||||
AutomationRegionView::init (bool /*wfd*/)
|
||||
{
|
||||
DisplaySuspender (*this);
|
||||
|
||||
RegionView::init (false);
|
||||
|
||||
reset_width_dependent_items ((double) _region->length_samples() / samples_per_pixel);
|
||||
|
|
@ -87,8 +89,6 @@ AutomationRegionView::init (bool /*wfd*/)
|
|||
|
||||
fill_color_name = "midi frame base";
|
||||
set_colors ();
|
||||
|
||||
enable_display ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue