mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-08 20:22:38 +01:00
багфикс переноса строк
This commit is contained in:
parent
cd4d5e9508
commit
c99dedfbcc
@ -1009,9 +1009,9 @@ end
|
||||
|
||||
--Функция по переносу слов на новую строку в зависимости от ограничения по ширине
|
||||
function ecs.stringWrap(strings, limit)
|
||||
local currentString = 1
|
||||
local currentString = 1
|
||||
while currentString <= #strings do
|
||||
local words = ecs.getWordsArrayFromString(strings[currentString])
|
||||
local words = ecs.getWordsArrayFromString(tostring(strings[currentString]))
|
||||
|
||||
local newStringThatFormedFromWords, oldStringThatFormedFromWords = "", ""
|
||||
local word = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user