Skip to content

Commit

Permalink
Don't make song search search when pressing delete using instant search
Browse files Browse the repository at this point in the history
revert of dd3672f
turns out this is really annoying to me
  • Loading branch information
poco0317 committed Dec 8, 2019
1 parent 8b683c5 commit 9325131
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ local function searchInput(event)
searchstring = searchstring:sub(1, -2) -- remove the last element of the string
elseif event.DeviceInput.button == "DeviceButton_delete" then
searchstring = ""
if not instantSearch then
whee:SongSearch(searchstring)
end
elseif event.DeviceInput.button == "DeviceButton_=" then
searchstring = searchstring .. "="
else
Expand Down

0 comments on commit 9325131

Please sign in to comment.