Minimise duplicate calls to CairoWidget::set_dirty() in the editor summary.
- many regions may be changed by one operation.
This commit is contained in:
parent
a44c8b96ae
commit
23da9acf7e
@ -293,9 +293,11 @@ EditorSummary::render_region (RegionView* r, cairo_t* cr, double y) const
|
||||
void
|
||||
EditorSummary::set_background_dirty ()
|
||||
{
|
||||
if (!_background_dirty) {
|
||||
_background_dirty = true;
|
||||
set_dirty ();
|
||||
}
|
||||
}
|
||||
|
||||
/** Set the summary so that just the overlays (viewbox, playhead etc.) will be re-rendered */
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user