aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCukmekerb <cukmekerb@gmail.com>2021-11-27 21:07:38 -0800
committerGitHub <noreply@github.com>2021-11-27 21:07:38 -0800
commitd59904654bdb1f9a4773f34e67e81858dd9a5c27 (patch)
treefef6f48233674aac0a248482bf77b67ae7846441 /plugins
parent3834db399042ac72c032d94b510cf5921e123b3a (diff)
parentc36c59e06061e4b6e47484d2f0834950933c52d7 (diff)
downloadlite-xl-plugins-d59904654bdb1f9a4773f34e67e81858dd9a5c27.tar.gz
lite-xl-plugins-d59904654bdb1f9a4773f34e67e81858dd9a5c27.zip
Merge pull request #99 from jminor/fix_minimap_scrolling
Diffstat (limited to 'plugins')
-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