fixed: unnecessary safety margin for dragview width

This commit is contained in:
daboe01
2016-10-02 21:28:38 +02:00
parent ec4d29c327
commit 9d041c4b62
-1
View File
@@ -952,7 +952,6 @@ var kDelegateRespondsTo_textShouldBeginEditing
_movingSelection = CPMakeRange(_startTrackingLocation, 0);
placeholderFrame.size.width += 2; // prevent wrapping
dragPlaceholder = [[CPTextView alloc] initWithFrame:placeholderFrame];
[dragPlaceholder insertText:placeholderString];
[dragPlaceholder setBackgroundColor:[CPColor colorWithRed:1 green:1 blue:1 alpha:0]];