summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-01-15 22:47:56 +0000
committerCarl Hetherington <carl@carlh.net>2010-01-15 22:47:56 +0000
commite33d7a56b4e02a0886ddfce94222d877529aeee6 (patch)
tree1f48ae5611aa383cbeedaa0cd825658741ccdd5b /gtk2_ardour/editor_drag.h
parent11edfd035e19c90544bf10ff3845e8d7f7e80c5b (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.h4
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;