Stop surprising autoscroll when trimming regions; hopefully addresses #2993.
[ardour.git] / gtk2_ardour / editor_drag.h
index 73477800197b54ab7fbab17247c503724bfe5e7d..119bcc34b1e18fe3a8c8a1449597f0855bfaa665 100644 (file)
@@ -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;