虚拟按键最大尺寸增加

This commit is contained in:
MrZ626
2020-09-15 11:04:29 +08:00
parent 3c4491ec42
commit f64bf2bc27

View File

@@ -401,13 +401,13 @@ local Widgets={
SCN.go("setting_touchSwitch")
end}),
newButton({name="back", x=760,y=180,w=200,h=80,color="white",font=35,code=BACK}),
newSlider({name="size", x=450,y=265,w=460,unit=14,font=40,show="vkSize",
newSlider({name="size", x=450,y=265,w=460,unit=19,font=40,show="vkSize",
disp=function()
return VK_org[sceneTemp.sel].r/10-1
end,
code=function(v)
if sceneTemp.sel then
VK_org[sceneTemp.sel].r=10+v*10
VK_org[sceneTemp.sel].r=(v+1)*10
end
end,
hide=function()