Skip to content

Commit

Permalink
Fix cannot use Backspace key
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetSea-ButImNotSweet committed Aug 27, 2023
1 parent 265e48a commit c6ca5d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parts/scenes/dict.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ local function _search()
local first
if dict=='vi' then
local success,input=pcall(function() STRING.lowerUTF8(input) end)
if not success then input=inpur:lower() end
if not success then input=input:lower() end
else
input=input:lower() end
for i=1,#dict do
Expand Down Expand Up @@ -256,7 +256,7 @@ function scene.keyDown(key)
-- end
else
if not inputBoxFocus then WIDGET.focus(inputBox) end
return
return true
end
end

Expand Down

0 comments on commit c6ca5d3

Please sign in to comment.