Fix zoom cursor SNAFU (#274). Increase move threshold for zoom drags so that clicks are more likely to work.
git-svn-id: svn://localhost/ardour2/branches/3.0@7978 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
15b5aae173
commit
94e069b14a
|
@ -808,6 +808,10 @@ public:
|
|||
void finished (GdkEvent *, bool);
|
||||
void aborted ();
|
||||
|
||||
std::pair<ARDOUR::framecnt_t, int> move_threshold () const {
|
||||
return std::make_pair (4, 4);
|
||||
}
|
||||
|
||||
private:
|
||||
bool _zoom_out;
|
||||
};
|
||||
|
|
|
@ -270,7 +270,11 @@ Editor::set_canvas_cursor ()
|
|||
break;
|
||||
|
||||
case MouseZoom:
|
||||
current_canvas_cursor = zoom_in_cursor;
|
||||
if (Keyboard::the_keyboard().key_is_down (GDK_Control_L)) {
|
||||
current_canvas_cursor = zoom_out_cursor;
|
||||
} else {
|
||||
current_canvas_cursor = zoom_in_cursor;
|
||||
}
|
||||
break;
|
||||
|
||||
case MouseTimeFX:
|
||||
|
|
Loading…
Reference in New Issue