This repository was archived by the owner on Aug 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
src/SignsInternal/StudioWidgets Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -168,15 +168,24 @@ end
168168
169169-- Update the visual state of the input field
170170function LabeledTextInputClass :_UpdateVisualState ()
171- if self ._selected or self . _hovered then
171+ if self ._selected then
172172 self ._textBoxBorder .ImageColor3 = settings ().Studio .Theme :GetColor (
173- Enum .StudioStyleGuideColor .CheckedFieldBackground ,
173+ Enum .StudioStyleGuideColor .InputFieldBorder ,
174174 Enum .StudioStyleGuideModifier .Selected
175175 )
176176 self ._textBoxBackground .ImageColor3 = settings ().Studio .Theme :GetColor (
177177 Enum .StudioStyleGuideColor .InputFieldBackground ,
178178 Enum .StudioStyleGuideModifier .Selected
179179 )
180+ elseif self ._hovered then
181+ self ._textBoxBorder .ImageColor3 = settings ().Studio .Theme :GetColor (
182+ Enum .StudioStyleGuideColor .InputFieldBorder ,
183+ Enum .StudioStyleGuideModifier .Hover
184+ )
185+ self ._textBoxBackground .ImageColor3 = settings ().Studio .Theme :GetColor (
186+ Enum .StudioStyleGuideColor .InputFieldBackground ,
187+ Enum .StudioStyleGuideModifier .Default
188+ )
180189 else
181190 self ._textBoxBorder .ImageColor3 = settings ().Studio .Theme :GetColor (
182191 Enum .StudioStyleGuideColor .InputFieldBorder ,
You can’t perform that action at this time.
0 commit comments