~akkartik/techmeet-capture.love

219ee116865f8ef2b60fb771c4ad53f5a7dab685 — Kartik K. Agaram 4 months ago 4e9298d
ensure tapping on editor brings up soft keyboard
2 files changed, 2 insertions(+), 0 deletions(-)

M edit.lua
M source_edit.lua
M edit.lua => edit.lua +1 -0
@@ 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))

M source_edit.lua => source_edit.lua +1 -0
@@ 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))