summaryrefslogtreecommitdiff
path: root/gtk2_ardour/shuttle_control.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-05-13 17:25:02 +0000
committerCarl Hetherington <carl@carlh.net>2011-05-13 17:25:02 +0000
commitd0bb7df866faa48bb4aac7f947a72501e3dd61c3 (patch)
tree7ab3efb5485207fe90e3829e2ce45c45319d022e /gtk2_ardour/shuttle_control.h
parentac23288b5d842048a9c015027e179acbf1646af4 (diff)
Return shuttle speed to previous value on release after sprung grab (#4039).
git-svn-id: svn://localhost/ardour2/branches/3.0@9506 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/shuttle_control.h')
-rw-r--r--gtk2_ardour/shuttle_control.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/shuttle_control.h b/gtk2_ardour/shuttle_control.h
index 7f8176ea01..836ac535ed 100644
--- a/gtk2_ardour/shuttle_control.h
+++ b/gtk2_ardour/shuttle_control.h
@@ -60,6 +60,7 @@ class ShuttleControl : public Gtk::DrawingArea, public ARDOUR::SessionHandlePtr
float shuttle_max_speed;
float last_speed_displayed;
bool shuttle_grabbed;
+ double shuttle_speed_on_grab;
float shuttle_fract;
boost::shared_ptr<ShuttleControllable> _controllable;
cairo_pattern_t* pattern;