From 8d44391f4ba571c4dbcec0a87033c83414f515e8 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Fri, 9 May 2008 11:28:14 +0000 Subject: * adjusted formatting a bit to style guide * fixed: velocity value left on canvas * fixed: end-of-track problem still showed up sometimes * enabled heaps of debugging output in order to debug MidiModel corruption git-svn-id: svn://localhost/ardour2/branches/3.0@3329 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/canvas-note.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/canvas-note.h') diff --git a/gtk2_ardour/canvas-note.h b/gtk2_ardour/canvas-note.h index 84791c89ca..97739b4207 100644 --- a/gtk2_ardour/canvas-note.h +++ b/gtk2_ardour/canvas-note.h @@ -36,8 +36,8 @@ public: double x2() { return property_x2(); } double y2() { return property_y2(); } - void set_outline_color(uint32_t c) { property_outline_color_rgba() = c; } - void set_fill_color(uint32_t c) { property_fill_color_rgba() = c; } + void set_outline_color(uint32_t c) { property_outline_color_rgba() = c; hide(); show(); } + void set_fill_color(uint32_t c) { property_fill_color_rgba() = c; hide(); show(); } bool on_event(GdkEvent* ev); -- cgit v1.2.3