mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Create a new layer if required on record to a track in stacked mode. Fixes #3391.
git-svn-id: svn://localhost/ardour2/branches/3.0@8026 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7a25fa1beb
commit
a46af0460b
12 changed files with 166 additions and 62 deletions
|
|
@ -77,7 +77,7 @@ class MidiStreamView : public StreamView
|
|||
void redisplay_track ();
|
||||
|
||||
inline double contents_height() const
|
||||
{ return (_trackview.current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); }
|
||||
{ return (child_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); }
|
||||
|
||||
inline double note_to_y(uint8_t note) const
|
||||
{ return contents_height()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue