Fix text trimming
This commit is contained in:
parent
9c4605cda2
commit
0d096aecde
@ -140,7 +140,7 @@ local function fitText(text, widthBudget)
|
||||
if #text <= widthBudget then
|
||||
return text
|
||||
end
|
||||
return text:sub(1, #widthBudget)
|
||||
return text:sub(1, widthBudget)
|
||||
end
|
||||
|
||||
local PAGES = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user