Merge branch 'NEW--CPTextView' of https://github.com/daboe01/cappuccino into NEW--CPTextView

This commit is contained in:
Alexandre Wilhelm committed 2014-05-30 10:58:29 -07:00
commit 27ed9ca7fd
1 file changed
+2 -2
+2 -2
View File
@@ -324,10 +324,11 @@ var kDelegateRespondsTo_textShouldBeginEditing
{
self = [super initWithFrame:aFrame];
#if PLATFORM(DOM)
if (self)
{
#if PLATFORM(DOM)
self._DOMElement.style.cursor = "text";
#endif
_textContainerInset = CGSizeMake(2,0);
_textContainerOrigin = CGPointMake(_bounds.origin.x, _bounds.origin.y);
[aContainer setTextView:self];
@@ -363,7 +364,6 @@ var kDelegateRespondsTo_textShouldBeginEditing
}
[self registerForDraggedTypes:[CPColorDragType]];
#endif
return self;
}