mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 15:49:42 +02:00
Correct mSeekShort to mSeekLong in a few places
Correct typos which were causing incorrect size of cursor movements
This commit is contained in:
parent
5b01f57919
commit
7549b9f996
@ -1023,13 +1023,13 @@ void OnCursorShortJumpRight(const CommandContext &context)
|
||||
void OnCursorLongJumpLeft(const CommandContext &context)
|
||||
{
|
||||
DoCursorMove( context.project,
|
||||
-mSeekInfo.mSeekShort, mSeekInfo.mLastSelectionAdjustment );
|
||||
-mSeekInfo.mSeekLong, mSeekInfo.mLastSelectionAdjustment );
|
||||
}
|
||||
|
||||
void OnCursorLongJumpRight(const CommandContext &context)
|
||||
{
|
||||
DoCursorMove( context.project,
|
||||
mSeekInfo.mSeekShort, mSeekInfo.mLastSelectionAdjustment );
|
||||
mSeekInfo.mSeekLong, mSeekInfo.mLastSelectionAdjustment );
|
||||
}
|
||||
|
||||
void OnSeekLeftShort(const CommandContext &context)
|
||||
@ -1068,7 +1068,7 @@ void OnSelectAllTime(const CommandContext &context)
|
||||
void UpdatePrefs() override
|
||||
{
|
||||
gPrefs->Read(wxT("/AudioIO/SeekShortPeriod"), &mSeekInfo.mSeekShort, 1.0);
|
||||
gPrefs->Read(wxT("/AudioIO/SeekLongPeriod"), &mSeekInfo.mSeekShort, 15.0);
|
||||
gPrefs->Read(wxT("/AudioIO/SeekLongPeriod"), &mSeekInfo.mSeekLong, 15.0);
|
||||
}
|
||||
Handler()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user