diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-22 20:22:46 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-22 20:22:46 -0400 |
commit | 7a3e9032caaf23e956688c7f33a4eb2a92a57ceb (patch) | |
tree | 205fce9cbf5b4fd28b2d071826ec01e87f2bc68f /gtk2_ardour/mono_panner.cc | |
parent | e155338aa06ab9d449f9c4fe5f4f654066784e6f (diff) |
make 0/KP_0 do the same thing in the mono panner as it does in the stereo panner (reset to center)
Diffstat (limited to 'gtk2_ardour/mono_panner.cc')
-rw-r--r-- | gtk2_ardour/mono_panner.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/mono_panner.cc b/gtk2_ardour/mono_panner.cc index 37078b8d04..daec1eede1 100644 --- a/gtk2_ardour/mono_panner.cc +++ b/gtk2_ardour/mono_panner.cc @@ -412,10 +412,6 @@ MonoPanner::on_key_press_event (GdkEventKey* ev) step = one_degree * 5.0; } - /* up/down control width because we consider pan position more "important" - (and thus having higher "sense" priority) than width. - */ - switch (ev->keyval) { case GDK_Left: pv -= step; @@ -425,6 +421,10 @@ MonoPanner::on_key_press_event (GdkEventKey* ev) pv += step; position_control->set_value (pv); break; + case GDK_0: + case GDK_KP_0: + position_control->set_value (0.0); + break; default: return false; } |