Merge "Treat KEY_ENTER the same as KEY_POWER in the pager."
This commit is contained in:
commit
b68c4fc426
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ void ScreenRecoveryUI::ShowFile(FILE* fp) {
|
||||||
while (show_prompt) {
|
while (show_prompt) {
|
||||||
show_prompt = false;
|
show_prompt = false;
|
||||||
int key = WaitKey();
|
int key = WaitKey();
|
||||||
if (key == KEY_POWER) {
|
if (key == KEY_POWER || key == KEY_ENTER) {
|
||||||
return;
|
return;
|
||||||
} else if (key == KEY_UP || key == KEY_VOLUMEUP) {
|
} else if (key == KEY_UP || key == KEY_VOLUMEUP) {
|
||||||
if (offsets.size() <= 1) {
|
if (offsets.size() <= 1) {
|
||||||
|
|
Loading…
Reference in a new issue