diff options
author | Carl Hetherington <carl@carlh.net> | 2010-01-15 22:47:56 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-01-15 22:47:56 +0000 |
commit | e33d7a56b4e02a0886ddfce94222d877529aeee6 (patch) | |
tree | 1f48ae5611aa383cbeedaa0cd825658741ccdd5b /gtk2_ardour/editor_drag.h | |
parent | 11edfd035e19c90544bf10ff3845e8d7f7e80c5b (diff) |
Stop surprising autoscroll when trimming regions; hopefully addresses #2993.
git-svn-id: svn://localhost/ardour2/branches/3.0@6498 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 7347780019..119bcc34b1 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -224,7 +224,7 @@ public: RegionDrag (Editor *, ArdourCanvas::Item *, RegionView *, std::list<RegionView*> const &); virtual ~RegionDrag () {} - std::pair<nframes64_t, nframes64_t> extent () const; + virtual std::pair<nframes64_t, nframes64_t> extent () const; protected: @@ -412,6 +412,8 @@ public: return false; } + std::pair<nframes64_t, nframes64_t> extent () const; + private: Operation _operation; |