mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Update a couple of variable names.
This commit is contained in:
parent
35c2e5d227
commit
1ad878771f
@ -1847,7 +1847,7 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
|
||||
bool isWithinStart = IsWithinMarker(mousePosX, mPlayRegionStart);
|
||||
bool isWithinEnd = IsWithinMarker(mousePosX, mPlayRegionEnd);
|
||||
bool canDragLoopSel = !mPlayRegionLock && mPlayRegionDragsSelection;
|
||||
bool canDragSel = !mPlayRegionLock && mPlayRegionDragsSelection;
|
||||
|
||||
mLastMouseX = mousePosX;
|
||||
|
||||
@ -1949,15 +1949,15 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
break;
|
||||
case mesDraggingPlayRegionStart:
|
||||
mPlayRegionStart = mQuickPlayPos;
|
||||
if (canDragLoopSel) {
|
||||
DragLoopSelection();
|
||||
if (canDragSel) {
|
||||
DragSelection();
|
||||
}
|
||||
Refresh();
|
||||
break;
|
||||
case mesDraggingPlayRegionEnd:
|
||||
mPlayRegionEnd = mQuickPlayPos;
|
||||
if (canDragLoopSel) {
|
||||
DragLoopSelection();
|
||||
if (canDragSel) {
|
||||
DragSelection();
|
||||
}
|
||||
Refresh();
|
||||
break;
|
||||
@ -2152,7 +2152,7 @@ void AdornedRulerPanel::OnSyncSelToQuickPlay(wxCommandEvent& evt)
|
||||
gPrefs->Flush();
|
||||
}
|
||||
|
||||
void AdornedRulerPanel::DragLoopSelection()
|
||||
void AdornedRulerPanel::DragSelection()
|
||||
{
|
||||
if (mPlayRegionStart < mPlayRegionEnd) {
|
||||
mProject->SetSel0(mPlayRegionStart);
|
||||
|
@ -326,7 +326,7 @@ private:
|
||||
// Pop-up menu
|
||||
//
|
||||
void ShowMenu(const wxPoint & pos);
|
||||
void DragLoopSelection();
|
||||
void DragSelection();
|
||||
void OnToggleQuickPlay(wxCommandEvent &evt);
|
||||
void OnSyncSelToQuickPlay(wxCommandEvent &evt);
|
||||
void OnTimelineToolTips(wxCommandEvent &evt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user