summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config_vars.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-01-07 21:55:22 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-01-21 11:25:56 +1000
commitab292183dd090db6533acd2d761199e1911c31dc (patch)
tree5ee212490786fa0d3ed5d689a3ac93796e7901c4 /gtk2_ardour/ui_config_vars.h
parent6ba6cce79905ea1fa831ca7525c16ca1878623a7 (diff)
Bug #6722, Add UI config option to always use mouse position as zoom focus on scroll
This means that mouse zoom scrolling behaviour is consistent on the ruler canvas area and track canvas area. The config option defaults to true so this means the behaviour of Mixbus will be unchanged but in Ardour the ruler area will now follow the option so by default will use the mouse position as zoom focus when zooming rather than the zoom focus setting.
Diffstat (limited to 'gtk2_ardour/ui_config_vars.h')
-rw-r--r--gtk2_ardour/ui_config_vars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h
index 2cf2855390..e512fe397b 100644
--- a/gtk2_ardour/ui_config_vars.h
+++ b/gtk2_ardour/ui_config_vars.h
@@ -49,6 +49,7 @@ UI_CONFIG_VARIABLE (bool, never_display_periodic_midi, "never-display-periodic-m
UI_CONFIG_VARIABLE (bool, sound_midi_notes, "sound-midi-notes", false)
UI_CONFIG_VARIABLE (bool, show_plugin_scan_window, "show-plugin-scan-window", false)
UI_CONFIG_VARIABLE (bool, show_zoom_tools, "show-zoom-tools", true)
+UI_CONFIG_VARIABLE (bool, use_mouse_position_as_zoom_focus_on_scroll, "use-mouse-position-as-zoom-focus-on-scroll", true)
UI_CONFIG_VARIABLE (bool, widget_prelight, "widget-prelight", true)
UI_CONFIG_VARIABLE (bool, use_tooltips, "use-tooltips", true)
UI_CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-element-visibility", "Input,PhaseInvert,RecMon,SoloIsoLock,Output,Comments")