From 23f9170b90d32fd3e46b2049bdf304967bad343a Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 29 Jun 2025 17:18:42 +0200 Subject: [PATCH] fixed: nonsense addition accidentally turning the size into a string --- AppKit/CPTextField.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 4c66ddb3f..bdf926b09 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -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 {