mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 14:50:06 +02:00
Clip move commands - minor fix.
Forgot that the name of data members should begin with the letter m. Fixed this.
This commit is contained in:
parent
f46ac268f4
commit
cd6c9834f6
@ -3084,11 +3084,11 @@ void AudacityProject::OnSelContractRight(const wxEvent * evt)
|
||||
void AudacityProject::DoClipLeftOrRight(bool right, bool keyUp )
|
||||
{
|
||||
if (keyUp) {
|
||||
nKeyDown = 0;
|
||||
mNKeyDown = 0;
|
||||
return;
|
||||
}
|
||||
else
|
||||
nKeyDown++;
|
||||
mNKeyDown++;
|
||||
|
||||
auto &panel = *GetTrackPanel();
|
||||
|
||||
@ -3108,7 +3108,7 @@ void AudacityProject::DoClipLeftOrRight(bool right, bool keyUp )
|
||||
// (multiple keydowns followed by a keyup) result in a single
|
||||
// entry in Audacity's history dialog.
|
||||
PushState(message, _("Time-Shift"),
|
||||
nKeyDown == 1 ? UndoPush::MINIMAL : UndoPush::CONSOLIDATE);
|
||||
mNKeyDown == 1 ? UndoPush::MINIMAL : UndoPush::CONSOLIDATE);
|
||||
}
|
||||
|
||||
if ( amount == 0.0 )
|
||||
|
@ -161,7 +161,7 @@ void OnSelContractLeft(const wxEvent * evt);
|
||||
void OnSelContractRight(const wxEvent * evt);
|
||||
|
||||
private:
|
||||
int nKeyDown{};
|
||||
int mNKeyDown{};
|
||||
public:
|
||||
void DoClipLeftOrRight(bool right, bool keyUp );
|
||||
void OnClipLeft(const wxEvent* evt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user