From 9d041c4b624fc3b5a4eda82a234fdc1941e081a3 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 2 Oct 2016 21:28:38 +0200 Subject: [PATCH] fixed: unnecessary safety margin for dragview width --- AppKit/CPTextView/CPTextView.j | 1 - 1 file changed, 1 deletion(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 73a14b494..e082cb8d7 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -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]];