手机词典加入选择词条的上下键

This commit is contained in:
MrZ626
2020-10-20 13:46:18 +08:00
parent 1ddea8e2cc
commit 67547a8cf8
2 changed files with 21 additions and 3 deletions

View File

@@ -646,9 +646,12 @@ local Widgets={
newButton({name="back", x=640, y=600,w=170,h=80,font=35,code=BACK}),
},
dict={
newText({name="title", x=20,y=5,font=70,align="L"}),
newKey({name="link", x=1140,y=650,w=200,h=80,font=35,code=pressKey("link"),hide=function()return not sceneTemp.url end}),
newButton({name="back", x=1165,y=60,w=170,h=80,font=40,code=BACK}),
newText({name="title", x=20, y=5,font=70,align="L"}),
newKey({name="keyboard", x=960, y=60,w=200,h=80,font=35,code=function()love.keyboard.setTextInput(true)end,hide=mobileShow}),
newKey({name="link", x=1140, y=650,w=200,h=80,font=35,code=pressKey("link"),hide=function()return not sceneTemp.url end}),
newKey({name="up", x=1190, y=440,w=100,h=100,font=35,code=pressKey("up"),hide=mobileShow}),
newKey({name="down", x=1190, y=550,w=100,h=100,font=35,code=pressKey("down"),hide=mobileShow}),
newButton({name="back", x=1165, y=60,w=170,h=80,font=40,code=BACK}),
},
staff={
newButton({name="back", x=1140, y=640,w=170,h=80,font=40,code=BACK}),