更新历史界面可以用pageup/down控制(之前写错了)

This commit is contained in:
MrZ626
2021-01-24 23:31:57 +08:00
parent 4c29ed4634
commit 94705970be

View File

@@ -21,10 +21,12 @@ function scene.keyDown(k)
WIDGET.active.texts:scroll(-5)
elseif k=="down"then
WIDGET.active.texts:scroll(5)
elseif k=="pgup"then
elseif k=="pageup"then
WIDGET.active.texts:scroll(-20)
elseif k=="pgdown"then
elseif k=="pagedown"then
WIDGET.active.texts:scroll(20)
elseif k=="escape"then
SCN.back()
end
end