13
0

Fix fader motion accidentally broken in previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@8498 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-10 23:58:50 +00:00
parent 648035dba9
commit 51a3dce3e8

View File

@ -123,6 +123,7 @@ bool
PixFader::on_button_press_event (GdkEventButton* ev) PixFader::on_button_press_event (GdkEventButton* ev)
{ {
switch (ev->button) { switch (ev->button) {
case 1:
case 2: case 2:
add_modal_grab(); add_modal_grab();
grab_loc = (_orien == VERT) ? ev->y : ev->x; grab_loc = (_orien == VERT) ? ev->y : ev->x;