From: Good Guy Date: Fri, 6 Oct 2017 03:51:35 +0000 (-0600) Subject: fix ctrl+alt snap keys X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=078018dae12e5bdfc6c6f00e28a732be06c0e3c9;p=goodguy%2Fhistory.git fix ctrl+alt snap keys --- diff --git a/cinelerra-5.1/cinelerra/editpanel.C b/cinelerra-5.1/cinelerra/editpanel.C index df2e7b1c..d140faee 100644 --- a/cinelerra-5.1/cinelerra/editpanel.C +++ b/cinelerra-5.1/cinelerra/editpanel.C @@ -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 =