mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 12:07:08 +00:00
Fixed: typo
This commit is contained in:
1 parent
a96269150a
commit
c5c46df613
1 file changed
+2
-2
@@ -540,12 +540,12 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
inTextContainer:_textContainer
|
||||
rectCount:nil],
|
||||
effectiveSelectionColor = [self _isFocused] ? [_selectedTextAttributes objectForKey:CPBackgroundColorAttributeName] : [CPColor _selectedTextBackgroundColorUnfocussed],
|
||||
lenghtRect = rects.length;
|
||||
lengthRect = rects.length;
|
||||
|
||||
CGContextSaveGState(ctx);
|
||||
CGContextSetFillColor(ctx, effectiveSelectionColor);
|
||||
|
||||
for (var i = 0; i < lenghtRect; i++)
|
||||
for (var i = 0; i < lengthRect; i++)
|
||||
{
|
||||
rects[i].origin.x += _textContainerOrigin.x;
|
||||
rects[i].origin.y += _textContainerOrigin.y;
|
||||
|
||||
Reference in new issue
Block a user