diff options
author | Doug McLain <doug@nostar.net> | 2008-02-23 02:58:03 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2008-02-23 02:58:03 +0000 |
commit | 40f1d29f0200e32cdf4ec192527d622552ccfa5a (patch) | |
tree | 2a990fb6eedb05012be1cd37b99258cc40d21b09 /libs | |
parent | 0aabd293ba163c97bc2d73225782a53719ede02b (diff) |
Fix the stepping direction for horizontal faders, it was stepping in the wrong direction, and comment the line that
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3113 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/pixfader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/pixfader.cc b/libs/gtkmm2ext/pixfader.cc index c138d13371..5d228e1821 100644 --- a/libs/gtkmm2ext/pixfader.cc +++ b/libs/gtkmm2ext/pixfader.cc @@ -154,7 +154,7 @@ PixFader::on_button_release_event (GdkEventButton* ev) adjustment.set_value (default_value); } else if (ev->state & fine_scale_modifier) { adjustment.set_value (adjustment.get_lower()); - } else if (ev_pos < span - display_span()) { + } else if ((_orien == VERT && ev_pos < span - display_span()) || (_orien == HORIZ && ev_pos > span - display_span())) { /* above the current display height, remember X Window coords */ adjustment.set_value (adjustment.get_value() + adjustment.get_step_increment()); } else { |