diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-02-16 21:29:03 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-02-16 21:29:03 -0800 |
commit | 9f11452c0b62b57609cadef0938abdfae7cd16df (patch) | |
tree | 18d5f0dccec668f1e5cdca0bbaf44ffa151b3452 | |
parent | 9d1bea29411b63509daeff5e873840069a379213 (diff) | |
parent | 28aac522358b88fe2477bc7e95d8f72ed49cca29 (diff) | |
download | view.love-9f11452c0b62b57609cadef0938abdfae7cd16df.tar.gz |
Merge text.love
-rw-r--r-- | edit.lua | 1 | ||||
-rw-r--r-- | source_edit.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/edit.lua b/edit.lua index e8c4deb..79a2fc3 100644 --- a/edit.lua +++ b/edit.lua @@ -131,6 +131,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)) diff --git a/source_edit.lua b/source_edit.lua index 19b754d..e376537 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -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)) |