summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-07-18 10:55:41 +0200
committerRobin Gareus <robin@gareus.org>2018-07-18 10:57:57 +0200
commit0e79253412af587eb6cd8f3f72b841f5517dd47c (patch)
treebac0615018b179bdec14e0d7692d95f03d50f101 /gtk2_ardour/automation_controller.h
parent14517e13ecb160511a36f0104f6e4b5210751fc7 (diff)
Fix generic UI sliders w/rangesteps
Leave the user in control while the slider is being dragged. Previously there was a feedback loop: User-drags slider -> value changes -> value is rounded -> slider is updated with rounded value (while the user still drags)
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r--gtk2_ardour/automation_controller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h
index 12b31f6d86..ac87ee300f 100644
--- a/gtk2_ardour/automation_controller.h
+++ b/gtk2_ardour/automation_controller.h
@@ -102,6 +102,7 @@ private:
sigc::connection _screen_update_connection;
PBD::ScopedConnectionList _changed_connections;
bool _ignore_change;
+ bool _grabbed;
};