mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
Fix for fine adjust overriding snap modifiers.
This commit is contained in:
parent
528c8dc26f
commit
19b512aed7
1 changed files with 2 additions and 2 deletions
|
|
@ -4113,7 +4113,7 @@ ControlPointDrag::motion (GdkEvent* event, bool first_motion)
|
|||
double dx = _drags->current_pointer_x() - last_pointer_x();
|
||||
double dy = current_pointer_y() - last_pointer_y();
|
||||
|
||||
if (event->button.state & ArdourKeyboard::fine_adjust_modifier ()) {
|
||||
if (Keyboard::modifier_state_equals (event->button.state, ArdourKeyboard::fine_adjust_modifier ())) {
|
||||
dx *= 0.1;
|
||||
dy *= 0.1;
|
||||
}
|
||||
|
|
@ -4253,7 +4253,7 @@ LineDrag::motion (GdkEvent* event, bool first_move)
|
|||
{
|
||||
double dy = current_pointer_y() - last_pointer_y();
|
||||
|
||||
if (event->button.state & ArdourKeyboard::fine_adjust_modifier ()) {
|
||||
if (Keyboard::modifier_state_equals (event->button.state, ArdourKeyboard::fine_adjust_modifier ())) {
|
||||
dy *= 0.1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue