diff options
author | David Robillard <d@drobilla.net> | 2007-09-10 22:25:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-10 22:25:22 +0000 |
commit | 47c56f3092216b8bd08dc257f51b06c818bcc6c8 (patch) | |
tree | 18034d11835e9ba73acfa94bb9f7c0b8479320db | |
parent | 6d9e73fbb7398c2f0f73720a6d8a38e5caf6da15 (diff) |
Fix note separator lines adaptation to changing track height.
git-svn-id: svn://localhost/ardour2/trunk@2447 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/streamview.h | 2 | ||||
-rw-r--r-- | libs/ardour/midi_model.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index 820b956cc3..883c82d198 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -93,7 +93,7 @@ public: void add_region_view (boost::shared_ptr<ARDOUR::Region>); void region_layered (RegionView*); - void update_contents_y_position_and_height (); + virtual void update_contents_y_position_and_height (); virtual void redisplay_diskstream () = 0; diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index 27910b44f5..2a31de279b 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -155,7 +155,7 @@ MidiModel::const_iterator::operator++() } } - enum Type { NIL, NOTE, CC }; + enum Type { NIL, NOTE, CC }; Type type = NIL; if (_note_iter != _model->notes().end()) |