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

Commit 1e3a4a3

Browse files
authored
Fixed bugs and increased character limit.
Fixed 2 bugs and updated 1 parameter. - Fixed Text Color not matching to Roblox Studio when it would update the Text Color to match theme. - Fixed Font Face not being matched with Preview. - Increased Text MaxGraphemes to 8192.
1 parent 0d117b9 commit 1e3a4a3

File tree

1 file changed

+5
-5
lines changed
  • src/Workspace/SignsInternal/PluginGui

1 file changed

+5
-5
lines changed

src/Workspace/SignsInternal/PluginGui/init.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function PluginGui:newPluginGui(widgetGui)
5959
"Text", -- title text of the multi choice
6060
"" -- default value
6161
)
62-
textInput:SetMaxGraphemes(4096)
62+
textInput:SetMaxGraphemes(8192)
6363
textInput:GetFrame().Parent = textCollapse:GetContentsFrame()
6464

6565
local transparencyTextSlider = LabeledSlider.new( -- Size Slider
@@ -116,6 +116,9 @@ function PluginGui:newPluginGui(widgetGui)
116116
Color, -- choices array
117117
11 -- the starting index of the selection (in this case choice 1)
118118
)
119+
if settings().Studio.Theme == settings().Studio:GetAvailableThemes()[2] then
120+
fontTextChoice:SetSelectedIndex(1)
121+
end
119122
colorTextChoice:GetFrame().Parent = textCollapse:GetContentsFrame()
120123

121124
local boldCheckbox = LabeledCheckbox.new(
@@ -140,9 +143,6 @@ function PluginGui:newPluginGui(widgetGui)
140143
FontFace, -- choices array
141144
32 -- the starting index of the selection (in this case choice 1)
142145
)
143-
if settings().Studio.Theme == settings().Studio:GetAvailableThemes()[2] then
144-
fontTextChoice:SetSelectedIndex(2)
145-
end
146146
fontTextChoice:GetFrame().Parent = textCollapse:GetContentsFrame()
147147

148148
local strokeCollapse = CollapsibleTitledSection.new( -- Fonts collapse
@@ -320,4 +320,4 @@ function PluginGui:destoryPluginGui(widgetGui)
320320
end
321321
end
322322

323-
return PluginGui
323+
return PluginGui

0 commit comments

Comments
 (0)