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)
This commit is contained in:
Robin Gareus 2018-07-18 10:55:41 +02:00
parent 14517e13ec
commit 0e79253412
2 changed files with 14 additions and 0 deletions

View file

@ -102,6 +102,7 @@ private:
sigc::connection _screen_update_connection;
PBD::ScopedConnectionList _changed_connections;
bool _ignore_change;
bool _grabbed;
};