mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Bug972, partial fix: recording in new project, record head begins at left edge
This commit is contained in:
parent
ce691723d8
commit
4b76db56b7
@ -967,6 +967,7 @@ void TrackPanel::GetTracksUsableArea(int *width, int *height) const
|
|||||||
*width -= GetLabelWidth();
|
*width -= GetLabelWidth();
|
||||||
// AS: MAGIC NUMBER: What does 2 represent?
|
// AS: MAGIC NUMBER: What does 2 represent?
|
||||||
*width -= 2 + kLeftInset;
|
*width -= 2 + kLeftInset;
|
||||||
|
*width = std::max(0, *width);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets the pointer to the AudacityProject that
|
/// Gets the pointer to the AudacityProject that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user