1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-29 16:53:51 +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() 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 ); HandleCursor( &mLastMouseEvent );
} }
@@ -2617,8 +2619,9 @@ TrackPanel::FoundCell TrackPanel::FindCell(int mouseX, int mouseY)
return { nullptr, nullptr, {} }; return { nullptr, nullptr, {} };
} }
/// This finds the rectangle of a given track, either the // This finds the rectangle of a given track (including all channels),
/// of the label 'adornment' or the track itself // 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 ) wxRect TrackPanel::FindTrackRect( const Track * target, bool label )
{ {
if (!target) { if (!target) {