diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:22:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:22:35 -0700 |
commit | cb5524ec581447211269737d82bc67e3e120c396 (patch) | |
tree | 2be6b2d4cab09422dd696c87f1613619a722a99e | |
parent | d6795f9df0d98788804528a317ec5bb94f795922 (diff) | |
download | view.love-cb5524ec581447211269737d82bc67e3e120c396.tar.gz |
.
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index 7aa9057..0d2468f 100644 --- a/edit.lua +++ b/edit.lua @@ -212,7 +212,7 @@ function edit.mouse_pressed(State, x,y, mouse_button) -- sets cursor -- press and hold to start a selection: sets selection on press, cursor on release -- press and hold, then press shift: ignore shift - -- i.e. mousereleased should never look at shift state + -- i.e. mouse_released should never look at shift state State.old_cursor1 = State.cursor1 State.old_selection1 = State.selection1 State.mousepress_shift = App.shift_down() |