Don't redraw hidden toolbar elements
This commit is contained in:
parent
1e2bdeb014
commit
1a500bc00b
|
@ -1452,7 +1452,7 @@ ARDOUR_UI::every_point_zero_something_seconds ()
|
|||
{
|
||||
// august 2007: actual update frequency: 25Hz (40ms), not 100Hz
|
||||
|
||||
if (editor_meter && UIConfiguration::instance().get_show_editor_meter()) {
|
||||
if (editor_meter && UIConfiguration::instance().get_show_editor_meter() && editor_meter_peak_display.is_mapped ()) {
|
||||
float mpeak = editor_meter->update_meters();
|
||||
if (mpeak > editor_meter_max_peak) {
|
||||
if (mpeak >= UIConfiguration::instance().get_meter_peak()) {
|
||||
|
|
|
@ -196,7 +196,7 @@ MiniTimeline::set_span (framecnt_t ts)
|
|||
void
|
||||
MiniTimeline::super_rapid_update ()
|
||||
{
|
||||
if (!_session || !_session->engine().running()) {
|
||||
if (!_session || !_session->engine().running() || !is_mapped ()) {
|
||||
return;
|
||||
}
|
||||
framepos_t const frame = PublicEditor::instance().playhead_cursor_sample ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user