微调主菜单按钮移动速度

This commit is contained in:
MrZ626
2021-12-28 11:55:31 +08:00
parent 97eb434d5f
commit b941399aa8
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ function scene.update(dt)
end
local L=scene.widgetList
for i=1,8 do
L[i].x=MATH.expApproach(L[i].x,(widgetX0[i]-400+(WIDGET.isFocus(L[i])and(i<5 and 100 or -100)or 0)),dt*12)
L[i].x=MATH.expApproach(L[i].x,(widgetX0[i]-400+(WIDGET.isFocus(L[i])and(i<5 and 100 or -100)or 0)),dt*9)
end
end