mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 18:52:19 +00:00
Merge branch 'NEW--CPTextView' of https://github.com/daboe01/cappuccino into NEW--CPTextView
This commit is contained in:
commit
27ed9ca7fd
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user