summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note.h
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2008-05-09 11:28:14 +0000
committerHans Baier <hansfbaier@googlemail.com>2008-05-09 11:28:14 +0000
commit8d44391f4ba571c4dbcec0a87033c83414f515e8 (patch)
tree8875e32f275f027fbbd790f90fdd09fe01d235de /gtk2_ardour/canvas-note.h
parentf65119016207d9c413437227bd5117fef7dc31b1 (diff)
* 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
Diffstat (limited to 'gtk2_ardour/canvas-note.h')
-rw-r--r--gtk2_ardour/canvas-note.h4
1 files changed, 2 insertions, 2 deletions
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);