fix ctrl+alt snap keys
authorGood Guy <good1.2guy@gmail.com>
Fri, 6 Oct 2017 03:51:35 +0000 (21:51 -0600)
committerGood Guy <good1.2guy@gmail.com>
Fri, 6 Oct 2017 03:51:35 +0000 (21:51 -0600)
cinelerra-5.1/cinelerra/editpanel.C

index df2e7b1ce4b1c58955c5cb3cb694b046df97a1b7..d140faee0f6d4230e58fe58c13640cbabdda09a4 100644 (file)
@@ -339,7 +339,7 @@ void EditPanel::toggle_label()
 void EditPanel::prev_label()
 {
        int shift_down = subwindow->shift_down();
-       int snap = subwindow->ctrl_down() && subwindow->ctrl_down();
+       int snap = subwindow->ctrl_down() && subwindow->alt_down();
 
        int have_mwindow_lock = mwindow->gui->get_window_lock();
        int have_subwindow_lock =
@@ -369,7 +369,7 @@ void EditPanel::prev_label()
 void EditPanel::next_label()
 {
        int shift_down = subwindow->shift_down();
-       int snap = subwindow->ctrl_down() && subwindow->ctrl_down();
+       int snap = subwindow->ctrl_down() && subwindow->alt_down();
 
        int have_mwindow_lock = mwindow->gui->get_window_lock();
        int have_subwindow_lock =
@@ -401,7 +401,7 @@ void EditPanel::next_label()
 void EditPanel::prev_edit()
 {
        int shift_down = subwindow->shift_down();
-       int snap = subwindow->ctrl_down() && subwindow->ctrl_down();
+       int snap = subwindow->ctrl_down() && subwindow->alt_down();
 
        int have_mwindow_lock = mwindow->gui->get_window_lock();
        int have_subwindow_lock =
@@ -431,7 +431,7 @@ void EditPanel::prev_edit()
 void EditPanel::next_edit()
 {
        int shift_down = subwindow->shift_down();
-       int snap = subwindow->ctrl_down() && subwindow->ctrl_down();
+       int snap = subwindow->ctrl_down() && subwindow->alt_down();
 
        int have_mwindow_lock = mwindow->gui->get_window_lock();
        int have_subwindow_lock =