mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 09:03:54 +01:00
Fix minor typos
This commit is contained in:
committed by
James Crook
parent
f420a546a0
commit
d1ada5f08c
@@ -169,7 +169,7 @@ void LabelGlyphHandle::HandleGlyphClick
|
||||
// (label is shrunk to zero and size of zero is preserved)
|
||||
// If we're on a boundary between two different labels,
|
||||
// then it's an adjust.
|
||||
// In both cases the two points coallesce.
|
||||
// In both cases the two points coalesce.
|
||||
hit.mbIsMoving = (hit.mMouseOverLabelLeft == hit.mMouseOverLabelRight);
|
||||
MayAdjustLabel(hit, hit.mMouseOverLabelLeft, -1, false, t );
|
||||
MayAdjustLabel(hit, hit.mMouseOverLabelRight, 1, false, t );
|
||||
|
||||
@@ -2010,7 +2010,7 @@ void LabelTrackView::CreateCustomGlyphs()
|
||||
index = iConfig + NUM_GLYPH_CONFIGS * iHighlight;
|
||||
// Copy the basic spec...
|
||||
memcpy( XmpBmp, GlyphXpmRegionSpec, sizeof( GlyphXpmRegionSpec ));
|
||||
// The higlighted region (if any) is white...
|
||||
// The highlighted region (if any) is white...
|
||||
if( iHighlight==1 ) XmpBmp[5]="5 c #FFFFFF";
|
||||
if( iHighlight==2 ) XmpBmp[6]="6 c #FFFFFF";
|
||||
if( iHighlight==3 ) XmpBmp[7]="7 c #FFFFFF";
|
||||
|
||||
@@ -282,7 +282,7 @@ void DrawNoteBackground(TrackPanelDrawingContext &context,
|
||||
// between B and C, hence the offset of 2 for two line thicknesses
|
||||
int eOffset = data.GetPitchHeight(5) + 2;
|
||||
while (obottom > rect.y + data.GetNoteMargin() + 3) {
|
||||
// draw a black line separating octaves if this octave botton is visible
|
||||
// draw a black line separating octaves if this octave bottom is visible
|
||||
if (obottom < rect.y + rect.height - data.GetNoteMargin()) {
|
||||
dc.SetPen(*wxBLACK_PEN);
|
||||
// obottom - 1 because obottom is at the bottom of the line
|
||||
|
||||
@@ -1187,7 +1187,7 @@ ClipParameters::ClipParameters
|
||||
hiddenMid.width -= hiddenLeftOffset;
|
||||
}
|
||||
|
||||
// If the right edge of the track is to the left of the the right
|
||||
// If the right edge of the track is to the left of the right
|
||||
// edge of the display, then there's some unused area to the right
|
||||
// of the track. Reduce the "hiddenMid" rect by the
|
||||
// size of the blank area.
|
||||
@@ -1218,7 +1218,7 @@ ClipParameters::ClipParameters
|
||||
mid.width -= leftOffset;
|
||||
}
|
||||
|
||||
// If the right edge of the track is to the left of the the right
|
||||
// If the right edge of the track is to the left of the right
|
||||
// edge of the display, then there's some unused area to the right
|
||||
// of the track. Reduce the "mid" rect by the
|
||||
// size of the blank area.
|
||||
|
||||
@@ -912,7 +912,7 @@ HitTestPreview SelectHandle::Preview
|
||||
TranslatableString tip;
|
||||
wxCursor *pCursor = SelectCursor();
|
||||
if ( IsClicked() )
|
||||
// Use same cursor as at the clck
|
||||
// Use same cursor as at the click
|
||||
SetTipAndCursorForBoundary
|
||||
(SelectionBoundary(mSelectionBoundary),
|
||||
(mFreqSelMode == FREQ_SEL_SNAPPING_CENTER),
|
||||
|
||||
Reference in New Issue
Block a user