diff options
author | Guldoman <giulio.lettieri@gmail.com> | 2022-06-13 23:46:33 +0200 |
---|---|---|
committer | Guldoman <giulio.lettieri@gmail.com> | 2022-06-13 23:46:33 +0200 |
commit | ce6fb751afdb311f3a3fd2d02ca6e472361074b0 (patch) | |
tree | 5e150a0d7d0e2d85d3c1fdd4f4c3f2e38ee8c3d8 | |
parent | b1d8fc4c6f911f21422900203dc798ae883cde8f (diff) | |
download | lite-xl-plugins-ce6fb751afdb311f3a3fd2d02ca6e472361074b0.tar.gz lite-xl-plugins-ce6fb751afdb311f3a3fd2d02ca6e472361074b0.zip |
`minimap`: fix cutoff offset
-rw-r--r-- | plugins/minimap.lua | 2 |
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 |