1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-29 08:43:56 +01:00
This commit is contained in:
Paul Licameli
2017-06-16 22:57:03 -04:00
parent fe06ab2dbb
commit f94ac4dc43

View File

@@ -825,7 +825,9 @@ void TrackPanel::HandlePageDownKey()
void TrackPanel::HandleCursorForLastMouseEvent()
{
// Come here on modifier key transitions and change the cursor appropriately.
// Come here on modifier key transitions,
// or on starting or stopping of play or record,
// and change the cursor appropriately.
HandleCursor( &mLastMouseEvent );
}
@@ -2617,8 +2619,9 @@ TrackPanel::FoundCell TrackPanel::FindCell(int mouseX, int mouseY)
return { nullptr, nullptr, {} };
}
/// This finds the rectangle of a given track, either the
/// of the label 'adornment' or the track itself
// This finds the rectangle of a given track (including all channels),
// either that of the label 'adornment' or the track itself
// The given track is assumed to be the first channel
wxRect TrackPanel::FindTrackRect( const Track * target, bool label )
{
if (!target) {