fixed configurator section titles not being offset

This commit is contained in:
Mikayla Fischler
2024-09-29 11:55:53 -04:00
parent cc3b04a184
commit 499ec7c5b0
2 changed files with 6 additions and 3 deletions

View File

@@ -57,8 +57,11 @@ return function (args)
for i = 1, #lines do
if i > e.frame.h then break end
-- trim leading/trailing whitespace
lines[i] = util.trim(lines[i])
-- trim leading/trailing whitespace, except on the first line
-- leading whitespace on the first line is usually intentional
if i > 1 then
lines[i] = util.trim(lines[i])
end
local len = string.len(lines[i])