mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 19:52:19 +01:00
Revert "Preliminaries to support better interaction of undo and recording"
This reverts commit6e75ae58ac, reversing changes made to714d53e00f.
This commit is contained in:
@@ -210,11 +210,11 @@ double NoteTrack::GetEndTime() const
|
||||
return GetStartTime() + GetSeq().get_real_dur();
|
||||
}
|
||||
|
||||
void NoteTrack::DoSetHeight(int h)
|
||||
void NoteTrack::SetHeight(int h)
|
||||
{
|
||||
auto oldHeight = GetHeight();
|
||||
auto oldMargin = GetNoteMargin(oldHeight);
|
||||
PlayableTrack::DoSetHeight(h);
|
||||
Track::SetHeight(h);
|
||||
auto margin = GetNoteMargin(h);
|
||||
Zoom(
|
||||
wxRect{ 0, 0, 1, h }, // only height matters
|
||||
|
||||
Reference in New Issue
Block a user