ensure tapping on editor brings up soft keyboard
This commit is contained in:
parent
4e9298dda1
commit
219ee11686
1
edit.lua
1
edit.lua
|
@ -234,6 +234,7 @@ function edit.quit(State)
|
|||
end
|
||||
|
||||
function edit.mouse_press(State, x,y, mouse_button)
|
||||
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
|
||||
if State.search_term then return end
|
||||
State.mouse_down = mouse_button
|
||||
--? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos))
|
||||
|
|
|
@ -238,6 +238,7 @@ function edit.quit(State)
|
|||
end
|
||||
|
||||
function edit.mouse_press(State, x,y, mouse_button)
|
||||
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
|
||||
if State.search_term then return end
|
||||
State.mouse_down = mouse_button
|
||||
--? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos))
|
||||
|
|
Loading…
Reference in New Issue
Block a user