Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

Spanden

Typo in text.lua

Recommended Posts

Spanden    2
function Text:SetSize(sz)
	if LOC then
		sz = sz * LOC.GetTextScale()
	end
    self.inst.TextWidget:SetSize(sz)
    self.size = sz
end

function Text:SetSize(sz)
	return self.size
end

second SetSize must be GetSize I think?

Share this post


Link to post
Share on other sites