another try

This commit is contained in:
daboe01 committed 2014-05-30 19:19:15 +02:00
1 parent 2dbe01e90a
commit 91a429ea77
1 file changed
+3 -4
+3 -4
View File
@@ -297,7 +297,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
BOOL _drawCaret;
CPTimer _caretTimer;
CPTimer _scollingTimer;
CPGect _caretRect;
CPRect _caretRect;
CPFont _font;
CPColor _textColor;
@@ -322,9 +322,9 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (id)initWithFrame:(CGRect)aFrame textContainer:(CPTextContainer)aContainer
{
#if PLATFORM(DOM)
self = [super initWithFrame:aFrame];
#if PLATFORM(DOM)
if (self)
{
self._DOMElement.style.cursor = "text";
@@ -363,9 +363,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
}
[self registerForDraggedTypes:[CPColorDragType]];
#else
self=[self init];
#endif
return self;
}