Skip to content

Commit 884e7cb

Browse files
committed
Padding is no longer needed
1 parent b3bd24f commit 884e7cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haxe/ui/backend/flixel/textinputs/FlxTextInput.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class FlxTextInput extends TextBase {
200200

201201
private override function validatePosition() {
202202
_left = Math.round(_left * Toolkit.scaleX);
203-
_top = Math.round(_top * Toolkit.scaleY) + (PADDING_Y / 2);
203+
_top = Math.round(_top * Toolkit.scaleY);
204204
}
205205

206206
private override function validateDisplay() {

0 commit comments

Comments
 (0)