Search screen (#10)

* Search screen with keyboard and suggestions

* Clear search on visibility change

* Search page works

* Local search history

* Use built-in delete function

* Changelog

* Animation

* Adjust suggestions

* Web play video always goes to home
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-23 09:02:05 -05:00
1 parent 22dfe785f1
commit 740440c3a7
15 files changed
+395 -22

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ function onKeyEvent(key as string, press as boolean) as boolean
m.top.focusIndex = target
return true
else if key = "right"
' Can only escape to home screen, at index 1
allowedEscapes = { "1": true }
' Can only escape to search screen or home screen
allowedEscapes = { "0": true, "1": true }
if allowedEscapes[StrI(m.top.focusIndex).Trim()] = true
m.top.escapeIndex = m.top.focusIndex
m.top.focusIndex = -1