From e1168f4eff674c2571746aefcc438ed77d5e2941 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 16 Sep 2023 00:07:07 -0700 Subject: [PATCH] fix a bad merge --- edit.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/edit.lua b/edit.lua index 3819d06..446d76d 100644 --- a/edit.lua +++ b/edit.lua @@ -233,13 +233,11 @@ end function edit.mouse_wheel_move(State, dx,dy) if dy > 0 then State.cursor1 = {line=State.screen_top1.line, pos=State.screen_top1.pos} - edit.put_cursor_on_next_text_line(State) for i=1,math.floor(dy) do Text.up(State) end elseif dy < 0 then State.cursor1 = {line=State.screen_bottom1.line, pos=State.screen_bottom1.pos} - edit.put_cursor_on_next_text_line(State) for i=1,math.floor(-dy) do Text.down(State) end