projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd3e39
)
Check movement threshold using the raw grab frame rather than the snapped one, which...
author
Carl Hetherington
<carl@carlh.net>
Mon, 14 Mar 2011 19:25:18 +0000
(19:25 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 14 Mar 2011 19:25:18 +0000
(19:25 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9144
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_drag.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_drag.cc
b/gtk2_ardour/editor_drag.cc
index f8e810232d1f0a0f53ffa451f78aa4ce4bad3ff2..12126588da7a1842e8256a96e270f508467c8dfd 100644
(file)
--- a/
gtk2_ardour/editor_drag.cc
+++ b/
gtk2_ardour/editor_drag.cc
@@
-316,7
+316,7
@@
Drag::motion_handler (GdkEvent* event, bool from_autoscroll)
if (!from_autoscroll && !_move_threshold_passed) {
- bool const xp = (::llabs (_drags->current_pointer_frame () - _grab_frame) >= threshold.first);
+ bool const xp = (::llabs (_drags->current_pointer_frame () - _
raw_
grab_frame) >= threshold.first);
bool const yp = (::fabs ((_drags->current_pointer_y () - _grab_y)) >= threshold.second);
_move_threshold_passed = ((xp && x_movement_matters()) || (yp && y_movement_matters()));