summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-12-13 09:20:44 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-12-13 12:25:03 +1000
commit89623923bdc475381bfb8b0d318b7284920e05fc (patch)
tree1e3c019e950803bb91cff301bebd44c2dfa3c88b /gtk2_ardour/editor.h
parent989f934c3825fb600decc467770fea6f802a60b1 (diff)
Change Zoom to Selection action (Z key) to zoom on both axes
Add Zoom to Selection (Horizontal) action to access previous behavior. Remove Editor::temporal_zoom_region as it was duplicate code and broken for both_axes Should Resolve: #7112
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 4b2fc8222d..68c9814556 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -1304,8 +1304,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void loop_location (ARDOUR::Location&);
void calc_extra_zoom_edges(framepos_t &start, framepos_t &end);
- void temporal_zoom_selection (bool both_axes = false);
- void temporal_zoom_region (bool both_axes);
+ void temporal_zoom_selection (Editing::ZoomAxis);
void temporal_zoom_session ();
void temporal_zoom (framecnt_t samples_per_pixel);
void temporal_zoom_by_frame (framepos_t start, framepos_t end);