xOy变量收入SCR

This commit is contained in:
MrZ626
2020-11-10 10:43:10 +08:00
parent 7b49053e6d
commit 9410b320d4
6 changed files with 18 additions and 19 deletions

View File

@@ -726,7 +726,6 @@ function WIDGET.setLang(lang)
W.text=lang[S][W.name]
end
end
end
function WIDGET.moveCursor(x,y)
@@ -777,7 +776,7 @@ function WIDGET.press(x,y)
end
elseif W.type=="textBox"then
if MOBILE then
local _,y1=xOy:transformPoint(0,W.y+W.h)
local _,y1=SCR.xOy:transformPoint(0,W.y+W.h)
kb.setTextInput(true,0,y1,1,1)
end
end