mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-18 03:35:56 +02:00
fix(ios): support mod index networking and text input dismissal
This commit is contained in:
@@ -1214,8 +1214,7 @@ local function buildFindPanel(imp, parent, m)
|
||||
imp.findQuery or "", Strings("Search mods"),
|
||||
imp._findSearchFocus == true,
|
||||
function()
|
||||
imp._findSearchFocus = true
|
||||
imp:_armTextInput()
|
||||
imp:_toggleFindSearchFocus()
|
||||
end)
|
||||
|
||||
local cats = (imp.findIndex and imp.findIndex.categories) or {}
|
||||
|
||||
@@ -1733,6 +1733,15 @@ function RomImporter:_switchTab(id)
|
||||
self:_disarmTextInput()
|
||||
end
|
||||
|
||||
function RomImporter:_toggleFindSearchFocus()
|
||||
self._findSearchFocus = not self._findSearchFocus
|
||||
if self._findSearchFocus then
|
||||
self:_armTextInput()
|
||||
else
|
||||
self:_disarmTextInput()
|
||||
end
|
||||
end
|
||||
|
||||
-- ------- settings gear (options.lua + enabled mods' option schemas)
|
||||
|
||||
function RomImporter:_openSettings()
|
||||
|
||||
Reference in New Issue
Block a user