update Ace3

This commit is contained in:
Pinya
2018-07-24 18:46:37 +03:00
parent ec1ad46dd3
commit 11ea55b1a5
11 changed files with 59 additions and 82 deletions
@@ -112,7 +112,9 @@ local methods = {
if image:GetTexture() then
self.imageshown = true
local n = arg.n
if n == 4 or n == 8 then
if n == 4 then
image:SetTexCoord(arg[1], arg[2], arg[3], arg[4])
elseif n == 8 then
image:SetTexCoord(unpack(arg))
else
image:SetTexCoord(0, 1, 0, 1)