mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-01 18:58:22 +00:00
fixed: nonsense addition accidentally turning the size into a string
This commit is contained in:
1 parent
b63cde48c6
commit
23f9170b90
1 file changed
+1
-1
@@ -1472,7 +1472,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
![self isBezeled] &&
|
||||
(lineBreakMode === CPLineBreakByWordWrapping || lineBreakMode === CPLineBreakByCharWrapping))
|
||||
{
|
||||
textSize = [text sizeWithFont:font inWidth:textSize.width] + 1;
|
||||
textSize = [text sizeWithFont:font inWidth:textSize.width];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user