aboutsummaryrefslogtreecommitdiff
path: root/plugins/minimap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/minimap.lua')
-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