diff options
author | John Anderson <ardour@semiosix.com> | 2007-07-21 09:01:21 +0000 |
---|---|---|
committer | John Anderson <ardour@semiosix.com> | 2007-07-21 09:01:21 +0000 |
commit | 100bd1328b4dd653e5b2de1939dd791f230721db (patch) | |
tree | 0bc77180653e1d0469ae98bda0ad4864c144ef9d /libs | |
parent | 46424db99ab51ef7cd0ea4569cece45a140ec3e6 (diff) |
panning left works again
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2168 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/mackie/mackie_control_protocol.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index 54805141d2..c8a3d9d66b 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -897,7 +897,7 @@ void MackieControlProtocol::handle_control_event( SurfacePort & port, Control & route->panner()[0]->get_effective_position (xpos); // calculate new value, and trim - xpos += state.delta; + xpos += state.delta * state.sign; if ( xpos > 1.0 ) xpos = 1.0; else if ( xpos < 0.0 ) |