fix: keybindings
and download-subtitles
menus were not using palette
search style
This commit is contained in:
@@ -821,7 +821,7 @@ function open_subtitle_downloader()
|
|||||||
type = menu_type,
|
type = menu_type,
|
||||||
title = t('enter query'),
|
title = t('enter query'),
|
||||||
items = initial_items,
|
items = initial_items,
|
||||||
palette = true,
|
search_style = 'palette',
|
||||||
on_search = handle_search,
|
on_search = handle_search,
|
||||||
search_debounce = 'submit',
|
search_debounce = 'submit',
|
||||||
search_suggestion = search_suggestion,
|
search_suggestion = search_suggestion,
|
||||||
|
@@ -844,7 +844,7 @@ bind_command('keybinds', function()
|
|||||||
if Menu:is_open('keybinds') then
|
if Menu:is_open('keybinds') then
|
||||||
Menu:close()
|
Menu:close()
|
||||||
else
|
else
|
||||||
open_command_menu({type = 'keybinds', items = get_keybinds_items(), palette = true})
|
open_command_menu({type = 'keybinds', items = get_keybinds_items(), search_style = 'palette'})
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
bind_command('download-subtitles', open_subtitle_downloader)
|
bind_command('download-subtitles', open_subtitle_downloader)
|
||||||
|
Reference in New Issue
Block a user