fixed: nonsense addition accidentally turning the size into a string

This commit is contained in:
daboe01
2025-06-29 17:18:42 +02:00
parent b63cde48c6
commit 23f9170b90
+1 -1
View File
@@ -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
{