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

Commit 52adc61

Browse files
committed
Conversion from Internal
1 parent 88dff2e commit 52adc61

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

src/SignsInternal/PluginInfo/init.client.lua

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,13 @@ pluginToolbar:SetPlugin(plugin)
1717
local toolbar = pluginToolbar:CreateToolbar("Text Tools")
1818

1919
-- Add a toolbar button
20-
local button = toolbar:CreateButton("SignsInternal", "Hide/show the Signs Widget.", "rbxassetid://12168352133", "Signs Internal")
20+
local button = toolbar:CreateButton("Signs", "Hide/show the Signs Widget.", "rbxassetid://12135392705", "Signs Internal")
2121
button.ClickableWhenViewportHidden = true
2222

2323
-- Create new widget GUI and name it
2424
local widget = plugin:CreateDockWidgetPluginGui("Signs", widgetInfo)
25-
widget.Title = "Signs Internal 2.1.0"
26-
widget.Name = "SignsInternal"
27-
28-
-- Set CreateButton.Icon to match Studio theme
29-
local function setIcon()
30-
if settings().Studio.Theme == settings().Studio:GetAvailableThemes()[1] then -- Light theme
31-
button.Icon = "rbxassetid://12168355722"
32-
elseif settings().Studio.Theme == settings().Studio:GetAvailableThemes()[2] then -- Dark theme
33-
button.Icon = "rbxassetid://12168354157"
34-
else
35-
button.Icon = "rbxassetid://12168352133"
36-
warn("Failed to get Studio Theme. Button Icon may have low visibility.")
37-
end
38-
end
39-
settings().Studio.ThemeChanged:Connect(setIcon)
40-
setIcon()
25+
widget.Title = "Signs 3.0.0"
26+
widget.Name = "Signs"
4127

4228
-- Initialize PluginGui or DevelopmentGui
4329
local AddOns = require(script.Parent.PluginGui)

0 commit comments

Comments
 (0)