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

Commit 1d2f522

Browse files
committed
Fix UI stroke instance
Signed-off-by: RyanLua <[email protected]>
1 parent 1a567d9 commit 1d2f522

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Signs/PluginGui/GuiObjectPart.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ function GuiObjectPart.new(
4848

4949
local guiObject = label:Clone()
5050
guiObject.Parent = surfaceGui
51+
if guiObject:WaitForChild("UIStroke") then
52+
if guiObject.UIStroke.Thickness == 0 or guiObject.UIStroke.Enabled == false then
53+
guiObject.UIStroke:Destroy()
54+
end
55+
end
5156

5257
Selection:Set({ part })
5358

0 commit comments

Comments
 (0)