Skip to content

Commit 3208f88

Browse files
committed
Some minor fixes
1 parent 5834ec3 commit 3208f88

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

src/Converter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function Converter:GetSuggested(selection, settings)
262262

263263
-- Exploration
264264
local _, selected = next(selection)
265-
if selection then
265+
if selected then
266266
local class = classes[selected.ClassName]
267267
if not class then
268268
warn(("[Converter] - Bad class name '%s'"):format(selected.ClassName))

src/ScrollingFrame.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
local UserInputService = game:GetService("UserInputService")
22
local RunService = game:GetService("RunService")
33

4-
local MakeMaid = require(script.Parent:WaitForChild("Maid")).MakeMaid
4+
local MakeMaid = require(script.Parent:WaitForChild("Maid")).new
55
local Signal = require(script.Parent:WaitForChild("Signal"))
66
local Spring = require(script.Parent:WaitForChild("Spring"))
77

src/StringMatcher.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ The matcher module provides easy and advanced matching of strings.
77
@module _M.textui.util.matcher
88
]]
99

10-
-- luacheck: ignore
10+
-- luacheck: push ignore
11+
12+
local _G, string, table, math = _G, string, table, math
13+
local ipairs, type, setmetatable, tostring, append =
14+
ipairs, type, setmetatable, tostring, table.insert
1115

1216
local matcher = {}
1317
local _ENV = matcher

src/ThemeSwitcher.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ function ThemeSwitcher.SwitchObject(obj, theme)
8484
-- no return on purpose, text color still needs to be changed
8585
elseif obj.Name == "ConvertButton" then -- ConvertButton's text color is always the same
8686
obj.TextColor3 = ConvertButtonTextColor
87+
elseif obj.Name == "Checkbox" or obj.Name == "CheckboxTemplate" then
88+
obj.BackgroundColor3 = NewPalette.BackgroundOnHover
8789
return
8890
end
8991

src/UI.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
local MakeMaid = require(script.Parent:WaitForChild("Maid")).MakeMaid
1+
local MakeMaid = require(script.Parent:WaitForChild("Maid")).new
22
local Signal = require(script.Parent:WaitForChild("Signal"))
33
local ScrollingFrame = require(script.Parent:WaitForChild("ScrollingFrame"))
44
local ValueObject = require(script.Parent:WaitForChild("ValueObject"))

0 commit comments

Comments
 (0)