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 )
|
void AudacityProject::DoClipLeftOrRight(bool right, bool keyUp )
|
||||||
{
|
{
|
||||||
if (keyUp) {
|
if (keyUp) {
|
||||||
nKeyDown = 0;
|
mNKeyDown = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
nKeyDown++;
|
mNKeyDown++;
|
||||||
|
|
||||||
auto &panel = *GetTrackPanel();
|
auto &panel = *GetTrackPanel();
|
||||||
|
|
||||||
@ -3108,7 +3108,7 @@ void AudacityProject::DoClipLeftOrRight(bool right, bool keyUp )
|
|||||||
// (multiple keydowns followed by a keyup) result in a single
|
// (multiple keydowns followed by a keyup) result in a single
|
||||||
// entry in Audacity's history dialog.
|
// entry in Audacity's history dialog.
|
||||||
PushState(message, _("Time-Shift"),
|
PushState(message, _("Time-Shift"),
|
||||||
nKeyDown == 1 ? UndoPush::MINIMAL : UndoPush::CONSOLIDATE);
|
mNKeyDown == 1 ? UndoPush::MINIMAL : UndoPush::CONSOLIDATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( amount == 0.0 )
|
if ( amount == 0.0 )
|
||||||
|
@ -161,7 +161,7 @@ void OnSelContractLeft(const wxEvent * evt);
|
|||||||
void OnSelContractRight(const wxEvent * evt);
|
void OnSelContractRight(const wxEvent * evt);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int nKeyDown{};
|
int mNKeyDown{};
|
||||||
public:
|
public:
|
||||||
void DoClipLeftOrRight(bool right, bool keyUp );
|
void DoClipLeftOrRight(bool right, bool keyUp );
|
||||||
void OnClipLeft(const wxEvent* evt);
|
void OnClipLeft(const wxEvent* evt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user