From 74fa86ca19a114ca35b3c7fd13b794040debdd9e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 13 Jan 2025 13:28:46 -0700 Subject: [PATCH] add a (debug-only) to canvas control point rectangles --- gtk2_ardour/control_point.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/control_point.cc b/gtk2_ardour/control_point.cc index 16b2eb4870..aef2299379 100644 --- a/gtk2_ardour/control_point.cc +++ b/gtk2_ardour/control_point.cc @@ -23,6 +23,7 @@ #include "public_editor.h" #include "ui_config.h" +#include "canvas/debug.h" #include "canvas/rectangle.h" #include "pbd/i18n.h" @@ -45,6 +46,7 @@ ControlPoint::ControlPoint (AutomationLine& al) _size = 4.0; _item = new ArdourCanvas::Rectangle (&_line.canvas_group()); + CANVAS_DEBUG_NAME (_item, "Control Point"); _item->set_fill (true); _item->set_fill_color (UIConfiguration::instance().color ("control point fill")); _item->set_outline_color (UIConfiguration::instance().color ("control point outline"));