show partial items in the menu
Seeing a partial item can nudge someone to try resizing the window and so learn about more shortcuts.
This commit is contained in:
parent
0e0f36f8b4
commit
a54e59446d
|
@ -44,7 +44,7 @@ end
|
||||||
function add_hotkey_to_menu(s)
|
function add_hotkey_to_menu(s)
|
||||||
local s_text = to_text(s)
|
local s_text = to_text(s)
|
||||||
local width = App.width(s_text)
|
local width = App.width(s_text)
|
||||||
if Menu_cursor + width > App.screen.width - 5 then
|
if Menu_cursor > App.screen.width - 30 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
App.color(Menu_command_color)
|
App.color(Menu_command_color)
|
||||||
|
|
Loading…
Reference in New Issue