词典支持左右键翻页
This commit is contained in:
@@ -3,7 +3,7 @@ local gc=love.graphics
|
||||
local inputBox=WIDGET.newInputBox{name="input",x=20,y=110,w=726,h=60,font=40}
|
||||
local int,abs=math.floor,math.abs
|
||||
local min,sin=math.min,math.sin
|
||||
local ins,rem=table.insert,table.remove
|
||||
local ins=table.insert
|
||||
local find=string.find
|
||||
|
||||
local scene={}
|
||||
@@ -78,9 +78,9 @@ function scene.keyDown(key)
|
||||
scrollPos=selected-15
|
||||
end
|
||||
end
|
||||
elseif key=="pageup"then
|
||||
elseif key=="left"or key=="pageup"then
|
||||
for _=1,12 do scene.keyDown("up")end
|
||||
elseif key=="pagedown"then
|
||||
elseif key=="right"or key=="pagedown"then
|
||||
for _=1,12 do scene.keyDown("down")end
|
||||
elseif key=="link"then
|
||||
love.system.openURL(url)
|
||||
|
||||
@@ -38,6 +38,7 @@ return SPLITSTR([=[
|
||||
修改硬降音效
|
||||
词典修改部分词条,调整词条顺序(意见来自群友 库德里尔)
|
||||
移除词典中两个不必要的个人词条
|
||||
词典支持左右键翻页
|
||||
代码:
|
||||
file模块升级
|
||||
新增users模块用来管理网络用户缓存信息
|
||||
|
||||
Reference in New Issue
Block a user