about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-11-06 09:21:01 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-11-06 09:21:01 -0800
commit4522b0ac66b77b77e89b476be3ad7cfbe3f1ce19 (patch)
treeca4a4c7d81457dbef3b741259f70049f7befe200
parent79fd6c4464a86b08ab4b225fc633b2b8381c78e3 (diff)
parenta54e59446d9f80af9975eaacd226a9efe31b5bb6 (diff)
downloadview.love-4522b0ac66b77b77e89b476be3ad7cfbe3f1ce19.tar.gz
Merge lines.love
-rw-r--r--commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua
index dfac9b1..67ddef9 100644
--- a/commands.lua
+++ b/commands.lua
@@ -44,7 +44,7 @@ end
 function add_hotkey_to_menu(s)
   local s_text = to_text(s)
   local width = App.width(s_text)
-  if Menu_cursor + width > App.screen.width - 5 then
+  if Menu_cursor > App.screen.width - 30 then
     return
   end
   App.color(Menu_command_color)