mirror of https://github.com/Maecenas/tt-rss.git
pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%)
This commit is contained in:
parent
6191c48596
commit
7a68e4a6f7
|
@ -318,12 +318,12 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
if (!App.isCombinedMode()) {
|
||||
const ci = $("content-insert");
|
||||
if (ci) {
|
||||
ci.scrollTop += ci.offsetHeight * offset * 0.9;
|
||||
ci.scrollTop += ci.offsetHeight * offset * 0.99;
|
||||
}
|
||||
} else {
|
||||
const hi = $("headlines-frame");
|
||||
if (hi) {
|
||||
hi.scrollTop += hi.offsetHeight * offset * 0.9;
|
||||
hi.scrollTop += hi.offsetHeight * offset * 0.99;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1386,7 +1386,7 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
scrollByPages: function (offset) {
|
||||
const hi = $("headlines-frame");
|
||||
if (hi) {
|
||||
hi.scrollTop += hi.offsetHeight * offset * 0.9;
|
||||
hi.scrollTop += hi.offsetHeight * offset * 0.99;
|
||||
}
|
||||
},
|
||||
initHeadlinesMenu: function () {
|
||||
|
|
Loading…
Reference in New Issue