diff options
author | Daniel Sheeler <dsheeler@pobox.com> | 2017-01-20 17:06:44 -0600 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-21 01:38:53 +0100 |
commit | e315b25eb3d708e5818d23134a5ab5ea1ae81fe7 (patch) | |
tree | 187b8d79d760d4935a400083d29a1227e595789c /gtk2_ardour/ardour_ui_options.cc | |
parent | d4c48390ccdd6426b7254ad881e17fca629fd46d (diff) |
Update metronome tooltip on gain change
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index a2853ff5cd..4b45a80a37 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -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)); } } |