summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-10-20 18:20:38 +0000
committerCarl Hetherington <carl@carlh.net>2009-10-20 18:20:38 +0000
commit2898c4fa70805135a59739646fb476359e2e3fef (patch)
tree650653e7e854e3e0688c69d1ce5f29fdb5ed5540 /gtk2_ardour/editor.h
parentb488867f32b1ae46a776a3e1c3c1c8eb3b4ce419 (diff)
Make the behaviour zoom to region more intuitive (IMHO); ie always zoom to the selected region. Not quite sure what the zoomed_to_region flag was intended to achieve. Fixes mantis 2154.
git-svn-id: svn://localhost/ardour2/branches/3.0@5823 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 34d402c049..c4f2d9f887 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -448,7 +448,6 @@ class Editor : public PublicEditor
double frames_per_unit;
nframes64_t leftmost_frame;
Editing::ZoomFocus zoom_focus;
- bool zoomed_to_region;
std::list<TAVState> track_states;
};
@@ -1127,8 +1126,7 @@ class Editor : public PublicEditor
void temporal_zoom_selection ();
void temporal_zoom_region (bool both_axes);
- void toggle_zoom_region (bool both_axes);
- bool zoomed_to_region;
+ void zoom_to_region (bool both_axes);
void temporal_zoom_session ();
void temporal_zoom (gdouble scale);
void temporal_zoom_by_frame (nframes64_t start, nframes64_t end, const std::string & op);