1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 14:15:56 +00:00

only bind up/down in 3 panel mode

This commit is contained in:
Andrew Dolgov
2020-05-23 08:53:18 +03:00
parent ebb373987a
commit 19893d33e3
2 changed files with 22 additions and 11 deletions

View File

@@ -1098,6 +1098,8 @@
return $hotkeys;
}
// {3} - 3 panel mode only
// {C} - combined mode only
function get_hotkeys_map() {
$hotkeys = array(
"k" => "next_feed",
@@ -1108,8 +1110,8 @@
"P" => "article_page_up",
"*(33)|Shift+PgUp" => "article_page_up",
"*(34)|Shift+PgDn" => "article_page_down",
"(38)|Up" => "prev_article_or_scroll",
"(40)|Down" => "next_article_or_scroll",
"{3}(38)|Up" => "prev_article_or_scroll",
"{3}(40)|Down" => "next_article_or_scroll",
"*(38)|Shift+Up" => "article_scroll_up",
"*(40)|Shift+Down" => "article_scroll_down",
"^(38)|Ctrl+Up" => "prev_article_noscroll",