mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Update VirtualControl.lua
This commit is contained in:
@@ -23,7 +23,7 @@ local virtual_quad=setmetatable((function()
|
||||
for i,name in next,{
|
||||
'left','right','up','down',
|
||||
'rotate_left','rotate_right','rotate_left2','rotate_right2',
|
||||
} do if #name>0 then t[name]=gc_newQuad((i-1)%4*w,math.floor((i-1)/4)*w,w,w,5*w,7*w) end end
|
||||
} do if #name>0 then t[name]=gc_newQuad((i-1)%4*w,math.floor((i-1)/4)*w,w,w,4*w,2*w) end end -- 4x2 is the size of entire texture
|
||||
return t
|
||||
end)(),{
|
||||
__index=function() return empty_quad end
|
||||
|
||||
Reference in New Issue
Block a user