Temporary work-around for note colour.
authornick_m <mainsbridge@gmail.com>
Tue, 21 Jun 2016 14:50:49 +0000 (00:50 +1000)
committernick_m <mainsbridge@gmail.com>
Sat, 9 Jul 2016 16:18:37 +0000 (02:18 +1000)
gtk2_ardour/midi_region_view.cc

index cc7bb9279b0ee2f5cd7af478d7405009c4de48b7..287b6787eef63748302826271c0256ea3bc9630b 100644 (file)
@@ -1759,9 +1759,9 @@ MidiRegionView::update_sustained (Note* ev, bool update_ghost_regions)
        }
 
        // Update color in case velocity has changed
-       const uint32_t base_col = ev->base_color();
-       ev->set_fill_color(base_col);
-       ev->set_outline_color(ev->calculate_outline(base_col, ev->selected()));
+       //const uint32_t base_col = ev->base_color();
+       //ev->set_fill_color(base_col);
+       //ev->set_outline_color(ev->calculate_outline(base_col, ev->selected()));
 
        if (update_ghost_regions) {
                for (std::vector<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {