mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
optimize canvas meter redrawing (as in the non-canvas version)
This commit is contained in:
parent
726c10b6ac
commit
df5bb70616
1 changed files with 2 additions and 4 deletions
|
|
@ -717,12 +717,10 @@ Meter::set (float lvl, float peak)
|
|||
}
|
||||
|
||||
if (orientation == Vertical) {
|
||||
//queue_vertical_redraw (old_level);
|
||||
queue_vertical_redraw (old_level);
|
||||
} else {
|
||||
//queue_horizontal_redraw (old_level);
|
||||
queue_horizontal_redraw (old_level);
|
||||
}
|
||||
|
||||
redraw ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue