mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 11:21:29 +00:00
improve hotkey buffer scrolling speed; bind viewport scrolling to shift-arrows
This commit is contained in:
@@ -560,11 +560,11 @@ function moveToPost(mode, noscroll) {
|
||||
var ctr = $("headlines-frame");
|
||||
|
||||
if (!noscroll && article && article.offsetTop < ctr.scrollTop) {
|
||||
scrollArticle(-ctr.offsetHeight/2);
|
||||
scrollArticle(-ctr.offsetHeight/3);
|
||||
} else if (!noscroll && prev_article &&
|
||||
prev_article.offsetTop < ctr.scrollTop) {
|
||||
cdmExpandArticle(prev_id);
|
||||
scrollArticle(-ctr.offsetHeight/2);
|
||||
scrollArticle(-ctr.offsetHeight/3);
|
||||
} else if (prev_id) {
|
||||
cdmExpandArticle(prev_id);
|
||||
cdmScrollToArticleId(prev_id, noscroll);
|
||||
|
||||
Reference in New Issue
Block a user