diff --git a/src/Classes/ResizableEditControl.lua b/src/Classes/ResizableEditControl.lua index 7de2a31653..66a0402e3f 100644 --- a/src/Classes/ResizableEditControl.lua +++ b/src/Classes/ResizableEditControl.lua @@ -8,7 +8,7 @@ local m_min = math.min local ResizableEditClass = newClass("ResizableEditControl", "EditControl", function(self, anchor, rect, init, prompt, filter, limit, changeFunc, lineHeight, allowZoom, clearable) self.EditControl(anchor, rect, init, prompt, filter, limit, changeFunc, lineHeight, allowZoom, clearable) - local x, y, width, hight, minWidth, minHeight, maxWidth, maxHeight = unpack(rect) + local x, y, width, height, minWidth, minHeight, maxWidth, maxHeight = unpack(rect) self.minHeight = minHeight or height self.maxHeight = maxHeight or height self.minWidth = minWidth or width