Use tooklit functions, fixed

This commit is contained in:
Logan Payton
2018-04-15 13:22:29 -04:00
parent 14c57b83da
commit a15bfeb719
2 changed files with 23 additions and 22 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ end
function E:Size(frame, width, height)
assert(width)
frame:SetSize(E:Scale(width), E:Scale(height or width))
frame:SetWidth(E:Scale(width))
frame:SetHeight(E:Scale(height or width))
end
function E:Width(frame, width)