整理代码,微调debug模式输出点击位置的格式和widget模块的一个方法名

This commit is contained in:
MrZ626
2021-03-17 13:51:49 +08:00
parent 210e602057
commit 7ec1688825
4 changed files with 107 additions and 111 deletions

View File

@@ -1002,7 +1002,7 @@ function WIDGET.setLang(widgetText)
end
end
function WIDGET.moveCursor(x,y)
function WIDGET.cursorMove(x,y)
for _,W in next,WIDGET.active do
if not(W.hide==true or W.hide and W.hide())and W.resCtr and W:isAbove(x,y)then
WIDGET.sel=W