From c36c59e06061e4b6e47484d2f0834950933c52d7 Mon Sep 17 00:00:00 2001 From: Joshua Minor Date: Sat, 27 Nov 2021 20:04:47 -0800 Subject: Don't select text when dragging in the minimap. --- plugins/minimap.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/minimap.lua b/plugins/minimap.lua index 3f4a2a2..d0e6c2e 100644 --- a/plugins/minimap.lua +++ b/plugins/minimap.lua @@ -101,7 +101,6 @@ DocView.on_mouse_pressed = function(self, button, x, y, clicks) -- if user didn't click on the visible area (ie not dragging), scroll accordingly if not hit_visible_area then self:scroll_to_line(jump_to_line, false, config.plugins.minimap.instant_scroll) - return end end -- cgit v1.2.3