diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-09-10 19:35:06 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-09-10 19:35:06 -0700 |
commit | 4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a (patch) | |
tree | 83c01957b75eb4ca748e7c21e6b8beb650db9c34 | |
parent | 5afe11a9c42062c23991d5da62c1d90616f4e7da (diff) | |
download | lines.love-4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a.tar.gz |
bugfix in source editor
-rw-r--r-- | source.lua | 1 | ||||
-rw-r--r-- | source_edit.lua | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/source.lua b/source.lua index d24957c..2c5e18e 100644 --- a/source.lua +++ b/source.lua @@ -285,6 +285,7 @@ end function source.mouse_press(x,y, mouse_button) Cursor_time = 0 -- ensure cursor is visible immediately after it moves + love.keyboard.setTextInput(true) -- bring up keyboard on touch screen --? print('mouse click', x, y) --? print(Editor_state.left, Editor_state.right) --? print(Log_browser_state.left, Log_browser_state.right) diff --git a/source_edit.lua b/source_edit.lua index 2dca05d..53bd16a 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -234,7 +234,6 @@ 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)) |