Skip to content

Commit 3cc24fe

Browse files
authored
Fix font icon being translated
Signed-off-by: GitHub <noreply@github.com>
1 parent 2fc7ef2 commit 3cc24fe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/TopbarIcon.client.luau

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ const BackpackScript = require(script.Parent)
44
const Icon = require(script.Parent.Parent.topbarplus)
55

66
const icon = Icon.new()
7-
icon:modifyTheme({ "IconLabelContainer", "TargetWidth", 0 }) -- Force minimum width
7+
icon:modifyTheme({
8+
{ "IconLabelContainer", "TargetWidth", 0 }, -- Force minimum width
9+
{ "IconLabel", "AutoLocalize", false }, -- Don't translate font icon
10+
})
811
icon:setLabel("backpack")
912
icon:setOrder(-1)
1013
icon:setTextSize(24)

0 commit comments

Comments
 (0)