diff --git a/Basalt/objects/Textfield.lua b/Basalt/objects/Textfield.lua index 922a7e7..b64d411 100644 --- a/Basalt/objects/Textfield.lua +++ b/Basalt/objects/Textfield.lua @@ -137,6 +137,7 @@ return function(name, basalt) local function updateColors(self, l) l = l or self:getTextYPosition() + if(l>#lines)then return end local fgLine = tHex[self:getForeground()]:rep(fgLines[l]:len()) local bgLine = tHex[self:getBackground()]:rep(bgLines[l]:len()) for k,v in pairs(rules)do @@ -789,4 +790,4 @@ return function(name, basalt) object.__index = object return setmetatable(object, base) -end \ No newline at end of file +end