aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Minor <github@pixelverse.org>2021-11-27 20:04:47 -0800
committerJoshua Minor <github@pixelverse.org>2021-11-27 20:31:47 -0800
commitc36c59e06061e4b6e47484d2f0834950933c52d7 (patch)
treefef6f48233674aac0a248482bf77b67ae7846441
parent3834db399042ac72c032d94b510cf5921e123b3a (diff)
downloadlite-xl-plugins-c36c59e06061e4b6e47484d2f0834950933c52d7.tar.gz
lite-xl-plugins-c36c59e06061e4b6e47484d2f0834950933c52d7.zip
Don't select text when dragging in the minimap.
-rw-r--r--plugins/minimap.lua1
1 files changed, 0 insertions, 1 deletions
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