Update metronome tooltip on gain change
This commit is contained in:
parent
d4c48390cc
commit
e315b25eb3
|
@ -84,7 +84,7 @@ ARDOUR_UI::setup_tooltips ()
|
|||
set_tip (auto_return_button, _("Return to last playback start when stopped"));
|
||||
set_tip (follow_edits_button, _("Playhead follows Range tool clicks, and Range selections"));
|
||||
set_tip (auto_input_button, _("Track Input Monitoring automatically follows transport state"));
|
||||
set_tip (click_button, _("Enable/Disable metronome\n\nRight-click to access preferences\nMouse-wheel to modify level"));
|
||||
parameter_changed("click-gain");
|
||||
set_tip (solo_alert_button, _("When active, something is soloed.\nClick to de-solo everything"));
|
||||
set_tip (auditioning_alert_button, _("When active, auditioning is taking place.\nClick to stop the audition"));
|
||||
set_tip (feedback_alert_button, _("When active, there is a feedback loop."));
|
||||
|
|
|
@ -519,6 +519,9 @@ ARDOUR_UI::parameter_changed (std::string p)
|
|||
/* force a redraw */
|
||||
gtk_rc_reset_styles (gtk_settings_get_default());
|
||||
}
|
||||
} else if (p == "click-gain") {
|
||||
float gain_db = accurate_coefficient_to_dB (Config->get_click_gain());
|
||||
set_tip (click_button, string_compose ("Enable/Disable metronome\n\nRight-click to access preferences\nMouse-wheel to modify level\n\nLevel %1dbFS", gain_db));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue