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

Commit 78eef5a

Browse files
Custom tab icons (#33)
1 parent 6b47d8c commit 78eef5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Components/Tab.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function TabModule:New(Title, Icon, Parent)
4141
Type = "Tab",
4242
}
4343

44-
Icon = Library.Utilities:GetIcon(Icon)
44+
Icon = Icon:find("^rbxasset[://|id://]") == nil and Library.Utilities:GetIcon(Icon) or Icon
4545

4646
Tab.Frame = New("TextButton", {
4747
Size = UDim2.new(1, 0, 0, 34),

0 commit comments

Comments
 (0)