Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 9dd38f0

Browse files
committed
Fix text stretching
Signed-off-by: RyanLua <[email protected]>
1 parent 141d1a2 commit 9dd38f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Signs/PluginGui/GuiObjectPart.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ function GuiObjectPart.new(
3939
CollectionService:AddTag(part, "_Sign")
4040

4141
local surfaceGui = Instance.new("SurfaceGui")
42-
-- surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
43-
surfaceGui.CanvasSize = size or Vector2.new(200, 200)
42+
surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
43+
surfaceGui.PixelsPerStud = 100
4444
surfaceGui.LightInfluence = lightInfluence or 0
4545
surfaceGui.AlwaysOnTop = alwaysOnTop or false
4646
surfaceGui.AutoLocalize = autoLocalize or true

0 commit comments

Comments
 (0)