Skip to content

Commit d7629bd

Browse files
committed
Remove upscale hack
This hack was added for 200% (retina) displays, but the UI scale is now handled correctly
1 parent 34abea0 commit d7629bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GateEngine/UI/TextField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public final class TextField: View {
149149
self.needsUpdateTexture = true
150150
self.text = text
151151
self.font = font
152-
self.fontSize = fontSize * 2
152+
self.fontSize = fontSize
153153
self.style = style
154154
self.material = Material(color: textColor)
155155
super.init()

0 commit comments

Comments
 (0)