diff options
Diffstat (limited to 'plugins')
-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 fd48a51..e039e13 100644 --- a/plugins/minimap.lua +++ b/plugins/minimap.lua @@ -532,7 +532,7 @@ DocView.draw_scrollbar = function(self) color = style.syntax[type] if config.plugins.minimap.syntax_highlight and color ~= nil then -- fetch and dim colors - color = {color[1], color[2], color[3], color[4] * 0.5} + color = {color[1], color[2], color[3], (color[4] or 255) * 0.5} else color = old_color end |