Fix note separator lines adaptation to changing track height.
authorDavid Robillard <d@drobilla.net>
Mon, 10 Sep 2007 22:25:22 +0000 (22:25 +0000)
committerDavid Robillard <d@drobilla.net>
Mon, 10 Sep 2007 22:25:22 +0000 (22:25 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2447 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/streamview.h
libs/ardour/midi_model.cc

index 820b956cc3708f067ecdfc7f7136e8843d8a4637..883c82d1981a32844d00f1914314c5cae54eb7a6 100644 (file)
@@ -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;
        
index 27910b44f52d82aeba79872bfbf315d7d5753990..2a31de279bac24a6503047e5e75a25d671b092ff 100644 (file)
@@ -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())