diff options
author | Joshua Minor <github@pixelverse.org> | 2021-11-27 20:04:47 -0800 |
---|---|---|
committer | Joshua Minor <github@pixelverse.org> | 2021-11-27 20:31:47 -0800 |
commit | c36c59e06061e4b6e47484d2f0834950933c52d7 (patch) | |
tree | fef6f48233674aac0a248482bf77b67ae7846441 | |
parent | 3834db399042ac72c032d94b510cf5921e123b3a (diff) | |
download | lite-xl-plugins-c36c59e06061e4b6e47484d2f0834950933c52d7.tar.gz lite-xl-plugins-c36c59e06061e4b6e47484d2f0834950933c52d7.zip |
Don't select text when dragging in the minimap.
-rw-r--r-- | plugins/minimap.lua | 1 |
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 |