更新历史界面可以用pageup/down控制(之前写错了)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user