mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-20 23:51:18 +01:00
Move Y position, height, and minimized state into TrackView...
... and eliminate some unnecessary calls to SubstitutePendingChangedTrack, because the track and the substitute store Y and height in their shared TrackView object. Also make GetMinimizedHeight() virtual to avoid inclusion of TrackPanel.h in TrackView.cpp.
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
|
||||
#include "InconsistencyException.h"
|
||||
|
||||
#include "TrackPanel.h" // For TrackInfo
|
||||
#include "AllThemeResources.h"
|
||||
|
||||
#ifdef SONIFY
|
||||
@@ -123,8 +122,6 @@ NoteTrack::NoteTrack(const std::shared_ptr<DirManager> &projDirManager)
|
||||
SetDefaultName(_("Note Track"));
|
||||
SetName(GetDefaultName());
|
||||
|
||||
SetHeight( TrackInfo::DefaultNoteTrackHeight() );
|
||||
|
||||
mSeq = NULL;
|
||||
mSerializationLength = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user