mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Update virtual control scene
This commit is contained in:
@@ -64,7 +64,7 @@ function control_type.button:new(data)
|
||||
r=data.r or 80, -- size
|
||||
shape=data.shape or 'circle',
|
||||
key=data.key or 'X',
|
||||
iconSize=data.iconSize or 80,
|
||||
iconSize=data.iconSize or 60,
|
||||
alpha=data.alpha or 0.75,
|
||||
quad=virtual_quad[data.key]
|
||||
},self)
|
||||
@@ -148,6 +148,7 @@ local touches={}
|
||||
local global_toggle=false
|
||||
VCTRL={}
|
||||
VCTRL.focus=nil -- Focusing buttons
|
||||
VCTRL.hasChanged = false
|
||||
|
||||
---@class VCTRL.data
|
||||
---@field type 'button'
|
||||
|
||||
Reference in New Issue
Block a user