From 0cd87a917c73a4bb2971259581e694a7c28bc161 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 22 Sep 2022 09:20:01 -0600 Subject: [PATCH] push2: apply concept in 0af0e3a8e83162 to push2 code (unused follow action icon) --- libs/surfaces/push2/cues.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/libs/surfaces/push2/cues.cc b/libs/surfaces/push2/cues.cc index 34c10b29e6..eb96e94425 100644 --- a/libs/surfaces/push2/cues.cc +++ b/libs/surfaces/push2/cues.cc @@ -940,7 +940,7 @@ FollowActionIcon::render (ArdourCanvas::Rect const & area, Cairo::RefPtrfill (); break; case FollowAction::JumpTrigger: - if (trigger->follow_action0().targets.count() == 1 ) { //jump to a specific row + if (trigger->follow_action0().targets.count() == 1 ) { //Jump to a specific row; just draw the letter of the row we are jumping to int cue_idx = -1; for (int i = 0; i < default_triggers_per_box; i++) { if (trigger->follow_action0().targets.test(i)) { @@ -960,16 +960,6 @@ FollowActionIcon::render (ArdourCanvas::Rect const & area, Cairo::RefPtrbegin_new_path (); - } else if (false) { // 'ANY' jump - for (int i = 0; i < 6; i++) { - Cairo::Matrix m = context->get_matrix (); - context->translate (size / 2, size / 2); - context->rotate (i * M_PI / 3); - context->move_to (0, 0); - context->line_to (0, (size / 2) - 4 * scale); - context->stroke (); - context->set_matrix (m); - } } else { // 'OTHER' jump context->set_line_width (1.5 * scale); Gtkmm2ext::set_source_rgba (context, HSV (_fill_color).lighter (0.25).color ()); // needs to be brighter to maintain balance