aboutsummaryrefslogtreecommitdiff
path: root/plugins/minimap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/minimap.lua')
-rw-r--r--plugins/minimap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/minimap.lua b/plugins/minimap.lua
index f307053..fd48a51 100644
--- a/plugins/minimap.lua
+++ b/plugins/minimap.lua
@@ -523,7 +523,7 @@ DocView.draw_scrollbar = function(self)
local batch_width = 0
local batch_start = x
local last_batch_end = -1
- local minimap_cutoff_x = x + config.plugins.minimap.width * SCALE
+ local minimap_cutoff_x = config.plugins.minimap.width * SCALE
local batch_syntax_type = nil
local function flush_batch(type, cache)
if batch_width > 0 then