mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-29 16:53:51 +01:00
comments
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user