移除无效的debug功能键,整理代码

This commit is contained in:
MrZ626
2021-06-25 20:53:41 +08:00
parent c8480a17e9
commit 535e78a8b3
3 changed files with 12 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ function scene.touchUp()
end
end
function scene.touchMove(_,_,dx,dy)
if selected and WIDGET.isFocus(false)then
if selected and not WIDGET.isFocus()then
local B=VK_org[selected]
B.x,B.y=B.x+dx,B.y+dy
end