about summary refs log tree commit diff stats
path: root/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'commands.lua')
-rw-r--r--commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua
index 4a0d24a..a76bae5 100644
--- a/commands.lua
+++ b/commands.lua
@@ -116,7 +116,7 @@ function add_file_to_menu(x,y, s, cursor_highlight)
   if cursor_highlight then
     color = Menu_highlight_color
   end
-  button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, color=colortable(color),
+  button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, bg=color,
     onpress1 = function()
       navigate_to_file(s)
     end